1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: Added a sys.path.append in the main script to make it look in /usr/share/websploit/ for the rest of the stuff it needs.
Author: Devon Kearns <dookie@kali.org>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/websploit
+++ b/websploit
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
#
# --------------------------------------------------
# WebSploit Framework
@@ -32,6 +32,8 @@
# Blog : www.websploit.ir
#
import os
+import sys
+sys.path.append("/usr/share/websploit/")
import readline, rlcompleter
from time import sleep
from core import wcolors
|