Roman Hergenreder 2 years ago
parent
commit
f640b45acf
3 changed files with 6 additions and 2 deletions
  1. 3 1
      find_git_commit.py
  2. 2 0
      phpinfo-analyzer.py
  3. 1 1
      template.py

+ 3 - 1
find_git_commit.py

@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
 import argparse
 import re
 import os
@@ -180,4 +182,4 @@ if __name__ == "__main__":
             run(valid_files, args.dir, git_dir)
 
     if is_remote_git and not args.nodelete:
-        shutil.rmtree(git_dir)
+        shutil.rmtree(git_dir)

+ 2 - 0
phpinfo-analyzer.py

@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
 import requests
 import sys
 from bs4 import BeautifulSoup

+ 1 - 1
template.py

@@ -14,7 +14,7 @@ import requests
 import subprocess
 import urllib.parse
 from bs4 import BeautifulSoup
-from hackingscripts import util, fileserver, genRevShell
+from hackingscripts import util, fileserver, rev_shell
 
 from urllib3.exceptions import InsecureRequestWarning
 requests.packages.urllib3.disable_warnings(category=InsecureRequestWarning)