This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| My Mission claiming bot | |
| */ | |
| function claimMission(missionJSON) { | |
| for (var i=0; i < missionJSON.length;i++) { | |
| campaign = missionJSON[i]['campaign']['title'] | |
| campaignID = missionJSON[i]['campaign']['id'] | |
| orgID = missionJSON[i]['organization']['id'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // :__: | |
| for(var i=0; i < (document.getElementsByTagName("table")[0].rows.length);i++){ | |
| console.log(document.getElementsByTagName("table")[0].rows[i].cells.item(0).textContent) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # This scipt will run a full portscans on the given list ips and then run nmap on open ports | |
| # usage: ./port.sh ips.txt | |
| echo "[-] Starting PortScan ~~~~~~~~~~" | |
| for ip in $(cat $1); do | |
| ~/masscan/bin/masscan -p1-65535 $ip --max-rate 1000 -oG $ip-portscan | |
| ports=$(cat ./$ip-portscan | grep open | awk '{print $5}' | cut -d '/' -f1 | tr "\n" ',') |