Pre-build commit
authorDevon Kearns <dookie@kali.org>
Tue, 11 Dec 2012 21:57:41 +0000 (14:57 -0700)
committerDevon Kearns <dookie@kali.org>
Tue, 11 Dec 2012 21:57:41 +0000 (14:57 -0700)
debian/patches/add-sys-path-append [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]

diff --git a/debian/patches/add-sys-path-append b/debian/patches/add-sys-path-append
new file mode 100644 (file)
index 0000000..2c6cd69
--- /dev/null
@@ -0,0 +1,26 @@
+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.
+--- 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/")
+ from time import sleep
+ from core import wcolors
+ from core import menu
+@@ -142,4 +144,4 @@ def start():
+     menu.main_info()
+     main()
+ if __name__=='__main__':
+-    start()
+\ No newline at end of file
++    start()
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..9b4d62d
--- /dev/null
@@ -0,0 +1 @@
+add-sys-path-append