This file contains 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
if __name__ == '__main__': | |
ipaddress = goipsms(apikey, 'HTTP/1.0 401 Please Authenticate WWW-Authenticate: Basic realm="Please Login"') | |
for e, ip in enumerate(ipaddress) : | |
try: | |
request = requests.get("{}/default/en_US/status.html?type=base".format(ip), auth=('admin', 'admin'), timeout=5) | |
except Exception as error: | |
continue |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import shodan | |
import requests | |
def goipsms (api=None, dork=None, limit=None, offset=None) : | |
urls = [] |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import shodan | |
import requests | |
def goipsms (api=None, dork=None, limit=None, offset=None) : | |
try: |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import shodan | |
import requests | |
def goipsms (api=None, dork=None, limit=None, offset=None) : | |
try: |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- |
This file contains 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
if request.status_code == 200 : | |
print("[+] Default credentials found at {}".format(ip)) | |
print("[+] Saving {}\n".format(ip)) | |
try: | |
with open("{}".format('logs'), 'a') as logs : | |
logs.write("{}\n".format(ip)) | |
except Exception as error: | |
print("{}".format(error)) |
This file contains 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
import urllib3 | |
from io import BytesIO | |
from bs4 import BeautifulSoup | |
conn = urllib3.PoolManager() | |
docx = conn.request( 'GET', 'http://procon.rs.gov.br/upload/arquivos/201801/03151705-procon-sao-gabriel-ranking-de-2017.docx').data | |
document = ZipFile(BytesIO(docx)).read('word/document.xml').decode('utf-8') |
This file contains 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
var tinder = { | |
swipe: function (interval) { | |
this.id = setInterval(function(){ | |
this.swiped = document.querySelector('[aria-label="Curti"]'); | |
this.swiped.click() | |
}, interval); | |
}, | |
message: function(msg, interval) { | |
this.id = setInterval(function(){ | |
var matches = document.querySelector('.recCard__img'), |
This file contains 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
import shodan | |
def search (api=None, dork=None, limit=None, offset=None) : | |
urls = [] | |
try: | |
api = shodan.Shodan(api) | |
res = api.search(dork, limit=limit, offset=offset) |
This file contains 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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import requests | |
from bs4 import BeautifulSoup | |
import json | |
def pwned(date=2018, limit=999): |
NewerOlder