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
part of file: | |
with ThreadPoolExecutor(max_workers = thread_connection) as executor: | |
for port in ports: | |
executor.submit(ping, host, port, available_ports) | |
D:\some_folder_name\simplecode>simplecode.py | |
Calculating IPs, Please Wait ... | |
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
commands = { #commands section | |
'shellcode' : #shellcode main command | |
['generate shellcode', | |
{ 'generate': #shellcode sub command - to generate | |
{ | |
'linux_x86' : #generate sub command - os name | |
{ | |
'chmod' : {'file_to_perm&&perm_number':['none','xor_random','xor_yourvalue','add_random','add_yourvalue','sub_random','sub_yourvalue','inc','inc_timesyouwant','dec','dec_timesyouwant','mix_all']}, #function of shellcode | |
'dir_create' : {'directory_to_create':['none','xor_random','xor_yourvalue','add_random','add_yourvalue','sub_random','sub_yourvalue','inc','inc_timesyouwant','dec','dec_timesyouwant','mix_all']}, #function of shellcode | |
'download' : {'download_url':['none','xor_random','xor_yourvalue','add_random','add_yourvalue','sub_random','sub_yourvalue','inc','inc_timesyouwant','dec','dec_timesyouwant','mix_all']}, #function of shellcode |
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/python | |
import os | |
import time | |
while 1: | |
time.sleep(0.2) | |
result = os.popen('netstat -tuna | grep :80 | grep SYN_RECV').read().rsplit('\n') | |
try: | |
flag = False |
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 time | |
from watchdog.observers import Observer | |
from watchdog.events import FileSystemEventHandler | |
EXCLUDES = ['/dev'] | |
class Watcher: | |
DIRECTORY_TO_WATCH = "/" | |
def __init__(self): |
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
{ | |
"api": { | |
"services": [ | |
"HandlerService", | |
"StatsService" | |
], | |
"tag": "api" | |
}, | |
"dns": null, | |
"fakeDns": null, |
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/bash | |
# Set DEBIAN_FRONTEND to noninteractive for fast the default configuration during installation | |
export DEBIAN_FRONTEND=noninteractive | |
# updating OS Packages | |
apt-get update | |
apt-get upgrade -y | |
# Installing required packages |
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/bash | |
# Set DEBIAN_FRONTEND to noninteractive for fast the default configuration during installation | |
export DEBIAN_FRONTEND=noninteractive | |
# updating OS Packages | |
apt-get update | |
apt-get upgrade -y | |
# Installing required packages |
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
{ | |
"api":{ | |
"services":[ | |
"HandlerService", | |
"StatsService" | |
], | |
"tag":"api" | |
}, | |
"dns":null, | |
"fakeDns":null, |
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/bash | |
# Set DEBIAN_FRONTEND to noninteractive for fast the default configuration during installation | |
export DEBIAN_FRONTEND=noninteractive | |
# updating OS Packages | |
apt-get update | |
apt-get upgrade -y | |
# Installing required packages |
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
global | |
log stdout format raw local0 | |
maxconn 10000 | |
tune.bufsize 32768 | |
tune.maxrewrite 1024 | |
tune.ssl.default-dh-param 2048 | |
defaults | |
log global | |
mode http |