Open bhupendpatil opened 7 years ago
why was this closed? the linked fix above no longer loads.. can someone share the fix again?
@medoix
Original file was updated few days ago which made me to close this issue.
I'm not sure if this fix still works.
Above link is fixed
Updated the fix
Sadly, for me, the first part was not a fix. Followed steps exactly. Since katoolin is not a directory, removing w3af was not an option that I could pull off in nano, so I used nano & cleared out the katoolin file in usr/bin/ and replaced it with the github code linked. Still getting same error message "Package 'w3af' has no installation candidate". Also running debian 9 without option to use ubuntu. Thank you for linking w3af setup, I am going to try to set that up and see if it helps.
None of the methods worked for me so after adding the repositories I executed the following command to install all tools except w3af
sudo apt-get -f install acccheck ace-voip amap automater braa casefile cdpsnarf cisco-torch cookie-cadger copy-router-config dmitry dnmap dnsenum dnsmap dnsrecon dnstracer dnswalk dotdotpwn enum4linux enumiax exploitdb fierce firewalk fragroute fragrouter ghost-phisher golismero goofile lbd maltego-teeth masscan metagoofil miranda nmap p0f parsero recon-ng set smtp-user-enum snmpcheck sslcaudit sslsplit sslstrip sslyze thc-ipv6 theharvester tlssled twofi urlcrazy wireshark wol-e xplico ismtp intrace hping3 bbqsql bed cisco-auditing-tool cisco-global-exploiter cisco-ocs cisco-torch copy-router-config doona dotdotpwn greenbone-security-assistant hexorbase jsql lynis nmap ohrwurm openvas-cli openvas-manager openvas-scanner oscanner powerfuzzer sfuzz sidguesser siparmyknife sqlmap sqlninja sqlsus thc-ipv6 tnscmd10g unix-privesc-check yersinia aircrack-ng asleap bluelog blueranger bluesnarfer bully cowpatty crackle eapmd5pass fern-wifi-cracker ghost-phisher giskismet gqrx kalibrate-rtl killerbee kismet mdk3 mfcuk mfoc mfterm multimon-ng pixiewps reaver redfang spooftooph wifi-honey wifitap wifite apache-users arachni bbqsql blindelephant burpsuite cutycapt davtest deblaze dirb dirbuster fimap funkload grabber jboss-autopwn joomscan jsql maltego-teeth padbuster paros parsero plecost powerfuzzer proxystrike recon-ng skipfish sqlmap sqlninja sqlsus ua-tester uniscan vega webscarab websploit wfuzz wpscan xsser zaproxy burpsuite dnschef fiked hamster-sidejack hexinject iaxflood inviteflood ismtp mitmproxy ohrwurm protos-sip rebind responder rtpbreak rtpinsertsound rtpmixsound sctpscan siparmyknife sipp sipvicious sniffjoke sslsplit sslstrip thc-ipv6 voiphopper webscarab wifi-honey wireshark xspy yersinia zaproxy cryptcat cymothoa dbd dns2tcp http-tunnel httptunnel intersect nishang polenum powersploit pwnat ridenum sbd u3-pwn webshells weevely casefile cutycapt dos2unix dradis keepnote magictree metagoofil nipper-ng pipal armitage backdoor-factory cisco-auditing-tool cisco-global-exploiter cisco-ocs cisco-torch crackle jboss-autopwn linux-exploit-suggester maltego-teeth set shellnoob sqlmap thc-ipv6 yersinia beef-xss binwalk bulk-extractor chntpw cuckoo dc3dd ddrescue dumpzilla extundelete foremost galleta guymager iphone-backup-analyzer p0f pdf-parser pdfid pdgmail peepdf volatility xplico dhcpig funkload iaxflood inviteflood ipv6-toolkit mdk3 reaver rtpflood slowhttptest t50 termineter thc-ipv6 thc-ssl-dos acccheck burpsuite cewl chntpw cisco-auditing-tool cmospwd creddump crunch findmyhash gpp-decrypt hash-identifier hexorbase john johnny keimpx maltego-teeth maskprocessor multiforcer ncrack oclgausscrack pack patator polenum rainbowcrack rcracki-mt rsmangler statsprocessor thc-pptp-bruter truecrack webscarab wordlists zaproxy apktool dex2jar python-distorm3 edb-debugger jad javasnoop jd ollydbg smali valgrind yara android-sdk apktool arduino dex2jar sakis3g smali && wget http://www.morningstarsecurity.com/downloads/bing-ip2hosts-0.4.tar.gz && tar -xzvf bing-ip2hosts-0.4.tar.gz && cp bing-ip2hosts-0.4/bing-ip2hosts /usr/local/bin/
This worked for me .
The above fix still works, but you may need to modify the source to have the shebang (#!) as first line, otherwise katoolin will fail by attempting bash execution instead of the python interpreter (at least on my ubuntu installation). From this: ` # Original file: https://github.com/LionSec/katoolin
# Removed w3af # if you want to install w3af install it manually from here: http://docs.w3af.org/en/latest/install.html
import os import sys, traceback `
To this: `
# Original file: https://github.com/LionSec/katoolin
# Removed w3af # if you want to install w3af install it manually from here: http://docs.w3af.org/en/latest/install.html
import os import sys, traceback `
@jdunn10 updated 👍
Is there a reason this isn't committed?
Fix:
or follow these steps
here is the fix modified file for katoolin(yes removed w3af) https://github.com/bhupendpatil/IssueFix/blob/master/modifiedKatoolin.py https://github.com/bhupendpatil/katoolin
open terminal then enter
sudo gedit /usr/bin/katoolin
copy code from above link then paste and save
w3af will be gone
if you want to install w3af install it manually from here: http://docs.w3af.org/en/latest/install.html