summaryrefslogtreecommitdiff
path: root/net-wireless/wifite/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/wifite/files')
-rw-r--r--net-wireless/wifite/files/wifite-2-noupgrade.patch11
-rw-r--r--net-wireless/wifite/files/wifite-noupgrade.patch21
2 files changed, 32 insertions, 0 deletions
diff --git a/net-wireless/wifite/files/wifite-2-noupgrade.patch b/net-wireless/wifite/files/wifite-2-noupgrade.patch
new file mode 100644
index 00000000..6d3ff971
--- /dev/null
+++ b/net-wireless/wifite/files/wifite-2-noupgrade.patch
@@ -0,0 +1,11 @@
+--- wifite.orig 2012-05-29 08:53:04.321780000 +0800
++++ wifite 2012-05-29 08:54:03.546779995 +0800
+@@ -521,7 +521,7 @@
+ exit_gracefully(1)
+
+ elif args[i] == '-upgrade' or args[i] == '-update':
+- upgrade()
++ print 'The direct upgrade of this binary has been disabled. Please use a package manager instead'
+ exit(0)
+
+ elif args[i] == '-cracked':
diff --git a/net-wireless/wifite/files/wifite-noupgrade.patch b/net-wireless/wifite/files/wifite-noupgrade.patch
new file mode 100644
index 00000000..2b2d03ff
--- /dev/null
+++ b/net-wireless/wifite/files/wifite-noupgrade.patch
@@ -0,0 +1,21 @@
+--- wifite.orig 2011-04-05 14:12:52.000000000 +0800
++++ wifite 2011-04-05 14:17:12.990000001 +0800
+@@ -1051,7 +1051,7 @@
+ print G+".;' ,;' ,;' `;, `;, `;, "
+ print G+":: :: : "+GR+"( )"+G+" : :: :: "+GR+"mass WEP/WPA cracker"
+ print G+"':. ':. ':. "+GR+"/_\\"+G+" ,:' ,:' ,:' "
+- print G+" ':. ':. "+GR+"/___\\"+G+" ,:' ,:' "+GR+"designed for backtrack4"
++ print G+" ':. ':. "+GR+"/___\\"+G+" ,:' ,:' "+GR+"designed for backtrack4, but we like Pentoo"
+ print G+" ':. "+GR+"/_____\\"+G+" ,:' "
+ print G+" "+GR+"/ \\"+G+" "
+ print W
+@@ -1104,8 +1104,7 @@
+
+ elif a == '-update' or a == '--update' or a == '-upgrade' or a == '--upgrade':
+ # upgrayedd
+- update()
+- subprocess.call(['rm','-rf',TEMPDIR])
++ print 'The direct upgrade of this binary has been disabled. Please use a package manager instead'
+ sys.exit(0)
+ elif a == '-v' or a == '-version' or a == '-V' or a == '--version' or a == 'version':
+ print GR+'[+] '+W+'current wifite revision: '+G+'r'+str(REVISION)+W