Closed newoneb closed 1 year ago
BTW: sudo apt-get install python3-crypto:
└─$ sudo apt-get install python3-crypto
[sudo] password for kali:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python3-crypto is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python3-crypto' has no installation candidate
And I haven't been able to get any further. I watched a couple of vids, also articles but it did work for them, but not for me
I also did sudo apt-get remove python3-pycrypto and python3-crypto I did install pycryptodome
┌──(kali㉿kali)-[~/Desktop/ufonet]
└─$ sudo apt-get remove python3-pycrypto
[sudo] password for kali:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-pycrypto
┌──(kali㉿kali)-[~/Desktop/ufonet]
└─$ sudo apt-get remove python3-crypto
[sudo] password for kali:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'python3-crypto' is not installed, so not removed
The following packages were automatically installed and are no longer required:
docutils-common libpython3.10-dev python3-alabaster python3-docutils python3-imagesize python3-roman
python3-snowballstemmer python3-sphinx python3.10 python3.10-dev python3.10-minimal sphinx-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1400 not upgraded.
┌──(kali㉿kali)-[~/Desktop/ufonet]
└─$ sudo apt-get install python3-pycryptodome
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-pycryptodome is already the newest version (3.11.0+dfsg1-4).
The following packages were automatically installed and are no longer required:
docutils-common libpython3.10-dev python3-alabaster python3-docutils python3-imagesize python3-roman
python3-snowballstemmer python3-sphinx python3.10 python3.10-dev python3.10-minimal sphinx-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1400 not upgraded.
But after this I'm still getting:
$ ./ufonet -help
Traceback (most recent call last):
File "/home/kali/Desktop/ufonet/./ufonet", line 10, in <module>
from core.main import UFONet
File "/home/kali/Desktop/ufonet/core/main.py", line 14, in <module>
from Crypto.Cipher import AES
ModuleNotFoundError: No module named 'Crypto'
@newoneb you are not using the latest version of the tool. Try to clone it from here.
also your OS environment is not correctly configurated. Try to upgrade it (1400 not upgraded).
Hey, @epsylon !
I have installed a completely new machine (2023.1 v).
On this machine, I've got nothing to upgrade: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
So I downloaded ufonet from here using git command, but still it has the Crypto module issues:
┌──(kali㉿kali)-[~]
└─$ git clone https://github.com/epsylon/ufonet
Cloning into 'ufonet'...
remote: Enumerating objects: 918, done.
remote: Counting objects: 100% (119/119), done.
remote: Compressing objects: 100% (51/51), done.
remote: Total 918 (delta 65), reused 97 (delta 62), pack-reused 799
Receiving objects: 100% (918/918), 17.16 MiB | 9.69 MiB/s, done.
Resolving deltas: 100% (444/444), done.
┌──(kali㉿kali)-[~]
└─$ python ufonet --help
/usr/bin/python: can't find '__main__' module in '/home/kali/ufonet'
┌──(kali㉿kali)-[~]
└─$ cd '/home/kali/ufonet'
┌──(kali㉿kali)-[~/ufonet]
└─$ python ufonet --help
Traceback (most recent call last):
File "/home/kali/ufonet/ufonet", line 10, in <module>
from core.main import UFONet
File "/home/kali/ufonet/core/main.py", line 14, in <module>
from Crypto.Cipher import AES
ModuleNotFoundError: No module named 'Crypto'
I'm really not sure what I'm doing wrong.
Actually, nevermind, thanks a lot, after sudo pip3 install pycryptodome
, I got this:
(kali㉿kali)-[~/ufonet]
└─$ sudo pip3 install pycryptodome
Collecting pycryptodome
Downloading pycryptodome-3.17-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 1.8 MB/s eta 0:00:00
Installing collected packages: pycryptodome
Successfully installed pycryptodome-3.17
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
┌──(kali㉿kali)-[~/ufonet]
└─$ python ufonet --help
Usage: ./ufonet [options]
{(D)enial(OFF)ensive(S)ervice[ToolKit]}-{by_(io=psy+/03c8.net)}
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-v, --verbose active verbose on requests
--examples print some examples
--timeline show program's code timeline
--update check for latest stable version
--check-tor check to see if Tor is used properly
--force-ssl force usage of SSL/HTTPS requests
--force-yes set 'YES' to all questions
--gui start GUI (UFONet Web Interface)
*Tools*:
--crypter Crypt/Decrypt messages using AES256+HMAC-SHA1
--network Show info about your network (MAC, IPs)
--xray=XRAY Fast port scanner (ex: --xray 'http(s)://target.com')
--xray-ps=XRAYPS Set range of ports to scan (ex: --xray-ps '1-1024')
*Configure Request(s)*:
--proxy=PROXY Use proxy server (ex: --proxy 'http://127.0.0.1:8118')
--user-agent=AGENT Use another HTTP User-Agent header (default: SPOOFED)
--referer=REFERER Use another HTTP Referer header (default: SPOOFED)
--host=HOST Use another HTTP Host header (default: NONE)
--xforw Set your HTTP X-Forwarded-For with random IP values
--xclient Set your HTTP X-Client-IP with random IP values
--timeout=TIMEOUT Select your timeout (default: 5)
--retries=RETRIES Retries when the connection timeouts (default: 0)
--threads=THREADS Max number of concurrent HTTP requests (default: 5)
--delay=DELAY Delay between each HTTP request (default: 0)
*Search for 'Zombies'*:
--auto-search Search automatically for 'zombies' (may take time!)
-s SEARCH Search from a 'dork' (ex: -s 'proxy.php?url=')
--sd=DORKS Search from 'dorks' file (ex: --sd 'botnet/dorks.txt')
--sn=NUM_RESULTS Set max number of results for engine (default: 10)
--se=ENGINE Search engine for 'dorking' (default: DuckDuckGo)
--sa Search massively using all engines (may take time!)
--sax=EX_ENGINE Exclude engines when mass searching (ex: 'Bing,Yahoo')
*Test Botnet*:
--test-offline Fast check to discard offline bots
--test-all Update ALL botnet status (may take time!)
-t TEST Update 'zombies' status (ex: -t 'botnet/zombies.txt')
--test-rpc Update 'reflectors' status (ex: --test-rpc)
--attack-me Order 'zombies' to attack you (NAT required!)
*Community*:
--deploy Deploy data to share in '/var/www/ufonet/'
--grider Create a 'grider' to share 'stats/wargames/messages'
--blackhole Generate a 'blackhole' to share 'zombies'
--download-nodes Download 'zombies' from Radar
--up-to=UPIP Upload 'zombies' to IP (ex: --up-to '<IP>')
--down-from=DIP Download 'zombies' from IP (ex: --down-from '<IP>')
--upload-zombies Upload 'zombies' to Community
--download-zombies Download 'zombies' from Community
--upload-github Upload 'zombies' to GitHub
--download-github Download 'zombies' from GitHub
*Research Target*:
-i INSPECT Search biggest file (ex: -i 'http(s)://target.com')
-x ABDUCTION Examine webserver configuration (+CVE, +WAF detection)
*Configure Attack(s)*:
-a TARGET [DDoS] attack a target (ex: -a 'http(s)://target.com')
-f TARGET_LIST [DDoS] attack a list of targets (ex: -f 'targets.txt')
-b PLACE Set place to attack (ex: -b '/path/big.jpg')
-r ROUNDS Set number of rounds (ex: -r '1000') (default: 1)
*Extra Configuration(s)*:
--no-droids Disable 'DROIDS' redirectors
--no-ucavs Disable 'UCAVS' checkers
--no-aliens Disable 'ALIENS' web abuse
--no-rpcs Disable 'XML-RPCs' reflectors
--no-head Disable 'Is target up?' starting check
--no-scan Disable 'Scan shields' round check
--no-purge Disable 'Zombies purge' round check
--expire=EXPIRE Set expire time for 'Zombies purge' (default: 30)
*Extra Attack(s)*:
--fraggle=FRAGGLE [DDoS] 'UDP amplification' (ex: --fraggle 101)
--tachyon=TACHYON [DDoS] 'DNS amplification' (ex: --tachyon 101)
--monlist=MONLIST [DDoS] 'NTP amplification' (ex: --monlist 101)
--smurf=SMURF [DDoS] 'ICMP amplification' (ex: --smurf 101)
--sniper=SNIPER [DDoS] 'SNMP amplification' (ex: --sniper 101)
--spray=SPRAY [DDoS] 'TCP-SYN reflection' (ex: --spray 101)
--db=DBSTRESS [DDoS] 'HTTP-DB flood' (ex: --db 'search.php?q=')
--loic=LOIC [ DoS] 'HTTP-FAST flood' (ex: --loic 101)
--loris=LORIS [ DoS] 'HTTP-SLOW flood' (ex: --loris 101)
--ufosyn=UFOSYN [ DoS] 'TCP-SYN flood' (ex: --ufosyn 101)
--xmas=XMAS [ DoS] 'TCP-XMAS flood' (ex: --xmas 101)
--nuke=NUKE [ DoS] 'TCP-STARVATION flood' (ex: --nuke 101)
--ufoack=UFOACK [ DoS] 'TCP-ACK flood' (ex: --ufoack 101)
--uforst=UFORST [ DoS] 'TCP-RST flood' (ex: --uforst 101)
--droper=DROPER [ DoS] 'IP-FRAGMENTATION flood' (ex: --droper 101)
--overlap=OVERLAP [ DoS] 'IP-OVERLAP flood' (ex: --overlap 101)
--pinger=PINGER [ DoS] 'ICMP flood' (ex: --pinger 101)
--ufoudp=UFOUDP [ DoS] 'UDP flood' (ex: --ufoudp 101)
┌──(kali㉿kali)-[~/ufonet]
└─$
I downloaded ufonet from https://sourceforge.net/projects/ufonet/ . When I opened the terminal in ufonet folder, and typed in ./ufonet -help I got this: