Browse Source

fixed some syntax warnings

psy 3 years ago
parent
commit
ebae532ffb
7 changed files with 45 additions and 35 deletions
  1. 4 2
      README.md
  2. 1 1
      core/ajaxmap.py
  3. 2 2
      core/main.py
  4. 26 26
      core/webgui.py
  5. 6 2
      docs/AUTHOR
  6. 3 1
      docs/LEEME.txt
  7. 3 1
      docs/README.txt

+ 4 - 2
README.md

@@ -81,6 +81,8 @@ and on the Layer3 (Network) abusing the protocol.
 
        python3-pycurl - Python bindings to libcurl (Python 3)
        python3-geoip - Python3 bindings for the GeoIP IP-to-country resolver library
+       libgeoip-dev - Development files for the GeoIP library
+       libgeoip1 - non-DNS IP-to-country resolver library
        python3-whois - Python module for retrieving WHOIS information - Python 3
        python3-crypto - cryptographic algorithms and protocols for Python 3
        python3-requests - elegant and simple HTTP library for Python3, built for human beings
@@ -90,9 +92,9 @@ and on the Layer3 (Network) abusing the protocol.
 
        python3 setup.py install
 
-  For manual installation, on Debian-based systems (ex: Ubuntu), run: 
+  For manual installation, on Debian-based systems (ex: Ubuntu), run:
 
-       sudo apt-get install python3-pycurl python3-geoip python3-whois python3-crypto python3-requests python3-scapy
+       sudo apt-get install python3-pycurl python3-geoip python3-whois python3-crypto python3-requests python3-scapy libgeoip1 libgeoip-dev
 
   On other systems such as: Kali, Ubuntu, ArchLinux, ParrotSec, Fedora, etc... also run:
 

+ 1 - 1
core/ajaxmap.py

@@ -17,7 +17,7 @@ from .main import UFONet
 try:
     import pygeoip
 except:
-    print("\n[Error] [AI] Cannot import lib: pygeoip. \n\n To install it try:\n\n $ 'sudo apt-get install python3-geoip' or 'pip3 install pygeoip'\n")
+    print("\n[Error] [AI] Cannot import lib: pygeoip. \n\n To install it try:\n\n $ 'sudo apt-get install python3-geoip libgeoip-dev libgeoip1'\n")
     sys.exit(2)
 
 class AjaxMap(object):

+ 2 - 2
core/main.py

@@ -3,7 +3,7 @@
 """
 This file is part of the UFONet project, https://ufonet.03c8.net
 
-Copyright (c) 2013/2020 | psy <epsylon@riseup.net>
+Copyright (c) 2013/2021 | psy <epsylon@riseup.net>
 
 You should have received a copy of the GNU General Public License along
 with UFONet; if not, write to the Free Software Foundation, Inc., 51
@@ -3322,7 +3322,7 @@ class UFONet(object):
             if 'http' not in url_link:
                 url_link = "" # discarded
             else:
-                if url_link not in zombies and url_link+os.linesep not in zombies_found and url_link is not "": # AI mode (parsing search engines mixed pool and stored army)
+                if url_link not in zombies and url_link+os.linesep not in zombies_found and url_link != "": # AI mode (parsing search engines mixed pool and stored army)
                     print('+Victim found: ' + url_link)
                     print('-'*12)
                     zombies.append(url_link)

File diff suppressed because it is too large
+ 26 - 26
core/webgui.py


+ 6 - 2
docs/AUTHOR

@@ -43,8 +43,12 @@
 
 =======================
 
- BTC: 
+ bitcoin (BTC): 
 
-  19aXfJtoYJUoXEZtjNwsah2JKN9CK5Pcjw
+ - 19aXfJtoYJUoXEZtjNwsah2JKN9CK5Pcjw
+
+ ecoin (ECO):
+
+ - ETsRCBzaMawx3isvb5svX7tAukLdUFHKze
 
 ========================

+ 3 - 1
docs/LEEME.txt

@@ -55,6 +55,8 @@ UFONet funciona en muchas plataformas. Requiere Python (>2.7.9) y las siguientes
 
      python3-pycurl - Python bindings to libcurl (Python 3)
      python3-geoip - Python3 bindings for the GeoIP IP-to-country resolver library
+     libgeoip-dev - Development files for the GeoIP library
+     libgeoip1 - non-DNS IP-to-country resolver library
      python3-whois - Python module for retrieving WHOIS information - Python 3
      python3-crypto - cryptographic algorithms and protocols for Python 3
      python3-requests - elegant and simple HTTP library for Python3, built for human beings
@@ -66,7 +68,7 @@ Puedes obtener todas las librerías requeridas automáticamente usando (como roo
 
 Para instalarlas manualmente en sistemas basados en Debian (ex: Ubuntu), lanza: 
 
-     sudo apt-get install python3-pycurl python3-geoip python3-whois python3-crypto python3-requests python3-scapy
+     sudo apt-get install python3-pycurl python3-geoip python3-whois python3-crypto python3-requests python3-scapy libgeoip1 libgeoip-dev
 
 En otros sistemas como: Kali, Ubuntu, ArchLinux, ParrotSec, Fedora, etc... también lanzar:
 

+ 3 - 1
docs/README.txt

@@ -55,6 +55,8 @@ UFONet runs on many platforms. It requires Python (>=3) and the following librar
 
      python3-pycurl - Python bindings to libcurl (Python 3)
      python3-geoip - Python3 bindings for the GeoIP IP-to-country resolver library
+     libgeoip-dev - Development files for the GeoIP library
+     libgeoip1 - non-DNS IP-to-country resolver library
      python3-whois - Python module for retrieving WHOIS information - Python 3
      python3-crypto - cryptographic algorithms and protocols for Python 3
      python3-requests - elegant and simple HTTP library for Python3, built for human beings
@@ -66,7 +68,7 @@ You can automatically get all required libraries using (as root):
 
 For manual installation on Debian-based systems (ex: Ubuntu), run: 
 
-     sudo apt-get install python3-pycurl python3-geoip python3-whois python3-crypto python3-requests python3-scapy
+     sudo apt-get install python3-pycurl python3-geoip python3-whois python3-crypto python3-requests python3-scapy libgeoip1 libgeoip-dev
 
 On other systems such as: Kali, Ubuntu, ArchLinux, ParrotSec, Fedora, etc... also run: