lockedbyte / CVE-2021-40444

CVE-2021-40444 PoC
1.55k stars 481 forks source link

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

Open tdtc7 opened 2 years ago

tdtc7 commented 2 years ago

[*] 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'

kabutor commented 2 years ago

Need lcab apt install lcab

sidd-kishan commented 2 years ago

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

ScaryKim commented 1 year ago

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
hadeelk2 commented 1 year ago

any one solve it ???

ScaryKim commented 1 year ago

any one solve it ???

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