joomscan
joomscan copied to clipboard
joomscan.pl should be converted to Unix style line break
If we try to directly run joomscan on Linux, we get:
$ ./joomscan.pl
zsh: ./joomscan.pl: bad interpreter: /usr/bin/perl^M: no such file or directory
If we convert it with dos2unix
:
$ ./joomscan.pl
____ _____ _____ __ __ ___ ___ __ _ _
(_ _)( _ )( _ )( \/ )/ __) / __) /__\ ( \( )
.-_)( )(_)( )(_)( ) ( \__ \( (__ /(__)\ ) (
\____) (_____)(_____)(_/\/\_)(___/ \___)(__)(__)(_)\_)
(1337.today)
--=[OWASP JoomScan
+---++---==[Version : 0.0.7
+---++---==[Update Date : [2018/09/23]
+---++---==[Authors : Mohammad Reza Espargham , Ali Razmjoo
--=[Code name : Self Challenge
@OWASP_JoomScan , @rezesp , @Ali_Razmjo0 , @OWASP
Usage:
joomscan.pl <target>
joomscan.pl -u http://target.com/joomla
joomscan.pl -m targets.txt
Options:
joomscan.pl --help
Maybe other files should also be converted.
+1
you can also use perl -i -pe 'y|\r||d' joomscan.pl
to fix the file.