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
#TTlOs.psm1 | |
#< | |
# Ping scanner with os detection according with ttl value. | |
# Test-connection is a type of function in powershell uses as a ping command. | |
#> | |
# | |
function PsPing | |
{ | |
param($ip) | |
Process |
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 stem | |
from stem.process import launch_tor_with_config | |
def print_lines(line): | |
if('Bootstapped' in line): | |
print(line) | |
tor = launch_tor_with_config(config = {'ControlPort': '9051'}, init_msg_handler = print_lines) | |
tor.terminate() |
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 requests | |
import sys | |
import json | |
def waybackurls(host, with_subs): | |
if with_subs: | |
url = 'http://web.archive.org/cdx/search/cdx?url=*.%s/*&output=json&fl=original&collapse=urlkey' % host | |
else: | |
url = 'http://web.archive.org/cdx/search/cdx?url=%s/*&output=json&fl=original&collapse=urlkey' % host |