Windows OS directory slashes
ethicalhack3r opened this issue · 2 comments
ethicalhack3r commented
Using the latest code from Github. When selecting the Windows
OS Panoptic seems to use forward slashes instead of backslashes.
I seem to be having issues with the proxy option too (doesn't seem to use it when set).
Python 2.7.8
on OS X
python panoptic.py -u "https://www.example.com/somefile.aspx?file=verification.pdf" --os Windows -v
.-',--.`-.
<_ | () | _>
`-`=='-'
Panoptic v0.1-c80dbb2 (https://github.com/lightos/Panoptic/)
[i] Starting scan at: 13:57:00
[i] Checking original response...
[i] Checking invalid response...
[i] Done!
[i] Searching for files...
[*] Trying '/php5/php.ini'
[*] Trying '/php4/php.ini'
[*] Trying '/php/php.ini'
[*] Trying '/PHP/php.ini'
[*] Trying '/WINDOWS/php.ini'
[*] Trying '/WINNT/php.ini'
[*] Trying '/apache/php/php.ini'
[*] Trying '/xampp/apache/bin/php.ini'
stamparm commented
Windows apache-like software actually likes forward slashes. So, things like /php5/php.ini are interpreted as <current drive>:\php5\php.ini
stamparm commented
--proxy should work (more) properly with the last patch