Thread Closed
[ fixed ] BUG testssl.sh
#4
(11-06-2011, 01:16 PM)junior.riau18 Wrote:
(11-02-2011, 09:06 PM)41D1L Wrote: saya menemukan buk di file /pentest/scanners/testssl/testssl.sh saat di eksekusi
Code:
41D1L@bt:/pentest/scanners/testssl# python testssl.sh

kemudian muncul message seperti ini
Quote: File "testssl.sh", line 34
DEBUG=${DEBUG:-1} # if 0 the temp file won't be erased, it only keeps the last output anyway
^
SyntaxError: invalid syntax

mohon infonya dari temen-temen yang udah dapat fix dari bug ini terima kasih Big Grin

file nya belum executeable

Quote:root@bt:/pentest/scanners/testssl# ls -l
total 8
-rw-r--r-- 1 root root 6566 2011-05-07 00:14 testssl.sh

ane +x trus dijalanin malah jadi gini

Quote:root@bt:/pentest/scanners/testssl# chmod +x testssl.sh
root@bt:/pentest/scanners/testssl# ls
testssl.sh
root@bt:/pentest/scanners/testssl# ./testssl.sh
supply a hostname
root@bt:/pentest/scanners/testssl# ./testssl.sh -h
testssl.sh: hostname <port (443 otherwise assumed)> <--all|-a|all>
makenya bijimana??
Angry

bener kata om zee cara pakenya itu:
Code:
./testssl.sh target.com

dengan catatan udah di chmod +x testssl.sh, klo belom ya:
Code:
sh testssl.sh target.com

oh iya satu lagi klo hasil scan tulisannya ga keliatan karena konsole tembus pandang ubah COLOR di dalam source codenya, buka file testssl.sh pake vim, kwrite, gedit terserah trus ubah:
Quote:NC="" # netcat will be autodetermined
ECHO="/bin/echo -e" # works under Linux, watch out under Solaris, not tested yet under cygwin
COLOR=1 # with screen, tee and friends put 1 here (i.e. no color)
VERB_CLIST="-v" # -v displays row by row cipher, SSL-version, KX, Au, Enc and Mac
VERBERR=0 # zero means $OPENSSL errors will be more verbose
DEBUG=${DEBUG:-1} # if 0 the temp file won't be erased, it only keeps the last output anyway
perhatikan yg warna merah (sebelumnya nilai 0)

selamat mencoba


Thread Closed
Messages In This Thread
[ fixed ] BUG testssl.sh - by 41D1L - 11-02-2011, 09:06 PM
RE: BUG testssl.sh - by Junior Riau - 11-06-2011, 01:16 PM
RE: BUG testssl.sh - by iKONspirasi - 11-06-2011, 02:52 PM
RE: BUG testssl.sh - by zee eichel - 11-06-2011, 02:37 PM
RE: BUG testssl.sh - by THJC - 11-06-2011, 04:29 PM




Users browsing this thread: 1 Guest(s)