This commit is contained in:
Roman Hergenreder 2021-05-09 22:35:25 +02:00
parent 494a1e0f4b
commit 4aab478862
4 changed files with 4 additions and 4 deletions

@ -1,3 +1,3 @@
__doc__ = __doc__ or ""
__all__ = ["util","fileserver","xss_handler"]
__all__ = ["util","fileserver","xss_handler","genRevShell"]

@ -1,8 +1,7 @@
#!/usr/bin/env python
from hackingscripts import util
from hackingscripts import util, xss_handler
from http.server import BaseHTTPRequestHandler, HTTPServer
from . import xss_handler
import threading
import requests
import sys

@ -2,7 +2,7 @@
import socket
import sys
from . import util
import util
import pty
def generatePayload(type, local_address, port):

@ -23,6 +23,7 @@ location=$(curl -s -I https://github.com/jpillora/chisel/releases/latest | grep
if [[ "$location" =~ ^https://github.com/jpillora/chisel/releases/tag/v(.*) ]]; then
chisel_version=${BASH_REMATCH[1]}
chisel_version=${chisel_version%%[[:space:]]}
echo "Got Chisel version: ${chisel_version}"
curl -s -L "https://github.com/jpillora/chisel/releases/download/v${chisel_version}/chisel_${chisel_version}_linux_386.gz" | gzip -d > chisel
curl -s -L "https://github.com/jpillora/chisel/releases/download/v${chisel_version}/chisel_${chisel_version}_linux_amd64.gz" | gzip -d > chisel64
curl -s -L "https://github.com/jpillora/chisel/releases/download/v${chisel_version}/chisel_${chisel_version}_windows_386.gz" | gzip -d > win/chisel.exe