Roman Hergenreder 3 年之前
父节点
当前提交
4aab478862
共有 4 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      __init__.py
  2. 1 2
      fileserver.py
  3. 1 1
      genRevShell.py
  4. 1 0
      update.sh

+ 1 - 1
__init__.py

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

+ 1 - 2
fileserver.py

@@ -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

+ 1 - 1
genRevShell.py

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

+ 1 - 0
update.sh

@@ -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