CVE-2021-40444 icon indicating copy to clipboard operation
CVE-2021-40444 copied to clipboard

FileNotFoundError: [Errno 2] No such file or directory: 'out.cab'

Open tdtc7 opened this issue 3 years ago • 7 comments

[*] Generating malicious CAB file... Traceback (most recent call last): File "/root/CVE-2021-40444-master/exploit.py", line 154, in generate_payload() File "/root/CVE-2021-40444-master/exploit.py", line 106, in generate_payload patch_cab('out.cab') File "/root/CVE-2021-40444-master/exploit.py", line 38, in patch_cab f_r = open(path, 'rb') FileNotFoundError: [Errno 2] No such file or directory: 'out.cab'

tdtc7 avatar Sep 26 '21 08:09 tdtc7

Need lcab apt install lcab

kabutor avatar Oct 01 '21 17:10 kabutor

If Mac os then try :- https://ports.macports.org/port/lcab/

sidd-kishan avatar Oct 04 '21 06:10 sidd-kishan

How do you install lcab in kali linux currently? I did apt install lcab but received errors. Please advise

apt install lcab
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package lcab 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 'lcab' has no installation candidate

ScaryKim avatar Jun 17 '23 09:06 ScaryKim

any one solve it ???

hadeelk2 avatar Jun 21 '23 15:06 hadeelk2

any one solve it ???

I don't think kali linux has lcab, try using ubuntu.

ScaryKim avatar Jun 24 '23 02:06 ScaryKim

Adding for those who might find this in 2024 or later, due to news. You will need to manually install lcab from this http://ftp.debian.org/debian/pool/main/l/lcab/lcab_1.0b12.orig.tar.gz otherwise it wont work on Kali:

wget http://ftp.debian.org/debian/pool/main/l/lcab/lcab_1.0b12.orig.tar.gz tar -xvzf lcab_1.0b12.orig.tar.gz cd lcab_1.0b12 make sudo make install mkdir ~/bin/ cp lcab ~/bin/ echo 'export PATH=$PATH:~/bin' >> ~/.bashrc source ~/.bashrc lcab --version

Now run the exploit

itssixtyn3in avatar Jul 05 '24 16:07 itssixtyn3in