Closed lanjianchun closed 6 years ago
Maybe related to PySquashfsImage Try reinstalling it Or simply download the firmware and extract it using binwalk
I have downloaded the "routeros-x86-6.27.npk",can I unzip to use the "/nova/bin/www" file as the "www_binary"? i don't understand to use binwalk to get which file.
And, also I get that error:
use mips:
Traceback (most recent call last):
File "./StackClash_mips.py", line 230, in
use x86:
File "./StackClash_x86.py", line 232, in
Any way to extract the file is valid Only check it is an ELF file once extracted
Mips: it looks like it isnt able to find the gadgets, very strange, which version of ROS are you using?
X86: it looks like a pwntools problem, i cant offer support about this
@BigNerd95 thanks.the version is 6.27,my test ip is 180.166.152.83 in fact no one target version I test is succesful......
I tested it on 6.18, 6.37 and 8.38.3 And it works
Are you sure you are using mipsbe version of www with StackClash_mips?
It can find gadgets for me
root@kali:~/test/Chimay-Red# proxychains python getROSbin.py 6.37.2 x86 /nova/bin/www www_binary ProxyChains-3.1 (http://proxychains.sf.net) |DNS-request| ::1 |S-chain|-<>-127.0.0.1:1080-<><>-4.2.2.2:53-<><>-OK |DNS-response|: ::1 does not exist Downloading firmware... |DNS-request| download2.mikrotik.com |S-chain|-<>-127.0.0.1:1080-<><>-4.2.2.2:53-<><>-OK |DNS-response| download2.mikrotik.com is 52.85.158.145 |S-chain|-<>-127.0.0.1:1080-<><>-52.85.158.145:443-<><>-OK ('Extracting', '/nova/bin/www') cannot import name lzma
how to fix this problem?