You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello all
i'm have problem with unpacknpk.py and dumpnpk.py it's not work correct !!
same problems of past issues and test all solve but not work
#2 #1
the problem is Returning the raw header and the rest of the file (each part in a list) how i can solve it?
i'm using kali linux 1.1 . 0 vmawer machine
if any user have replay to me :
1.tell me what the opertiaon system
2.the solve step by step
this output
for dumpnpk.py
root@kali:~/Desktop/mikrotik-npk-master# python dumpnpk.py routeros-x86-6.9.npk
'\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x04\x00\x00\x00i386\x02\x00'
Magic: '\x1e\xf1\xd0\xba' should be: '\x1e\xf1\xd0\xba'
Size after this: 15241883 Header size: 152 Data size: 15241891
Unknown stuff: '\x12\x00 \x00\x00\x00' should be: '\x01\x00 \x00\x00\x00'
Short description: routeros-x86
Revision, unknown, Minor, Major: '\x00f\t\x06' (0, 102, 9, 6)
Build time: '{\x86\xebR' Fri Jan 31 06:18:19 2014
Some other numbers: (0, 0, 16, 4, 0) should be: (0, 0, 16, 4, 0)
Architecture: i386
Another number: (2,) should be: (2,)
Long description: 'RouterOS for x86, includes all supported features\n'
Next 24 chars: '\x15\x00\x00\x00\x00\x00\x14\x00"\x00\x00\x00\x01\x00ipv6\x00\x00\x00\x00\x00\x00'
should be: '\x03\x00"\x00\x00\x00\x01\x00system\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
Separators: '\x00\x00\x00\x00\x00\x00\x00\x00' '\x00\x00\x00\x00\x00\x00\x00\x00'
first 4: (0, 0, 0, 0) (0, 0, 0, 0)
Found data of type: 21 size: 0
Found data of type: 20 size: 34
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 52
Found data of type: 3 size: 2
Found data of type: 22 size: 3812
Found data of type: 21 size: 8249344
Found data of type: 7 size: 3
Contents (oninstall): '\n '
Found data of type: 4 size: 3486321
Uncompressing data...
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 33
Found data of type: 3 size: 34
Found data of type: 22 size: 3243
Found data of type: 21 size: 356352
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 36
Found data of type: 3 size: 34
Found data of type: 22 size: 3880
Found data of type: 21 size: 69632
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 73
Found data of type: 3 size: 34
Found data of type: 19 size: 34
Found data of type: 22 size: 3803
Found data of type: 21 size: 1409024
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 24
Found data of type: 3 size: 34
Found data of type: 22 size: 3892
Found data of type: 21 size: 217088
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 30
Found data of type: 3 size: 34
Found data of type: 22 size: 3886
Found data of type: 21 size: 188416
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 33
Found data of type: 3 size: 34
Found data of type: 19 size: 34
Found data of type: 22 size: 3843
Found data of type: 21 size: 114688
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 48
Found data of type: 3 size: 34
Found data of type: 22 size: 3868
Found data of type: 21 size: 135168
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 65
Found data of type: 3 size: 34
Found data of type: 22 size: 3851
Found data of type: 21 size: 389120
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 76
Found data of type: 3 size: 34
Found data of type: 22 size: 3840
Found data of type: 21 size: 397312
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 59
Found data of type: 3 size: 34
Found data of type: 22 size: 3857
Found data of type: 21 size: 118784
Found data of type: 4 size: 66124
Uncompressing data...
Found data of type: 9 size: 68
Found data of type: 16 size: 1
Returning the raw header and the rest of the file (each part in a list)
Files in package:
fil nx UPGRADEBOOTER 1391160062
fil nx UPGRADED 1391160062
dir 253 bin 1391070225
fil 253 bin/mlogin 1391070225
fil 253 bin/bash_login 1391070225
fil 253 bin/bash 1391071475
fil 253 bin/milo 1391071348
dir ex boot 1391159984
fil ex boot/vmlinuz-smp 1391159984
fil 180 boot/initrd.rgz 1391070277
fil nx boot/map 1391160062
fil 180 boot/milo.conf 1391070225
fil ex boot/vmlinuz 1391159986
fil 180 /var/pdb/system/crc 1391160062
Files in package:
fil ex boot/memtest.bin 1391072397
fil 180 /var/pdb/advanced-tools/crc 1391160090
for unpacknpk.py
root@kali:~/Desktop/mikrotik-npk-master# python unpacknpk.py routeros-x86-6.9.npk
Version 5 npk reader
'\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x04\x00\x00\x00i386\x02\x00'
Magic: '\x1e\xf1\xd0\xba' should be: '\x1e\xf1\xd0\xba'
Size after this: 15241883 Header size: 152 Data size: 15241891
Unknown stuff: '\x12\x00 \x00\x00\x00' should be: '\x01\x00 \x00\x00\x00'
Short description: routeros-x86
Revision, unknown, Minor, Major: '\x00f\t\x06' (0, 102, 9, 6)
Build time: '{\x86\xebR' Fri Jan 31 06:18:19 2014
Some other numbers: (0, 0, 16, 4, 0) should be: (0, 0, 16, 4, 0)
Architecture: i386
Another number: (2,) should be: (2,)
Long description: 'RouterOS for x86, includes all supported features\n'
Found data of type: 61726 size: 2459679440
Returning the raw header and the rest of the file (each part in a list)
The text was updated successfully, but these errors were encountered:
Hello all
i'm have problem with unpacknpk.py and dumpnpk.py it's not work correct !!
same problems of past issues and test all solve but not work
#2
#1
the problem is Returning the raw header and the rest of the file (each part in a list) how i can solve it?
i'm using kali linux 1.1 . 0 vmawer machine
if any user have replay to me :
1.tell me what the opertiaon system
2.the solve step by step
this output
for dumpnpk.py
root@kali:~/Desktop/mikrotik-npk-master# python dumpnpk.py routeros-x86-6.9.npk
'\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x04\x00\x00\x00i386\x02\x00'
Magic: '\x1e\xf1\xd0\xba' should be: '\x1e\xf1\xd0\xba'
Size after this: 15241883 Header size: 152 Data size: 15241891
Unknown stuff: '\x12\x00 \x00\x00\x00' should be: '\x01\x00 \x00\x00\x00'
Short description: routeros-x86
Revision, unknown, Minor, Major: '\x00f\t\x06' (0, 102, 9, 6)
Build time: '{\x86\xebR' Fri Jan 31 06:18:19 2014
Some other numbers: (0, 0, 16, 4, 0) should be: (0, 0, 16, 4, 0)
Architecture: i386
Another number: (2,) should be: (2,)
Long description: 'RouterOS for x86, includes all supported features\n'
Next 24 chars: '\x15\x00\x00\x00\x00\x00\x14\x00"\x00\x00\x00\x01\x00ipv6\x00\x00\x00\x00\x00\x00'
should be: '\x03\x00"\x00\x00\x00\x01\x00system\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
Separators: '\x00\x00\x00\x00\x00\x00\x00\x00' '\x00\x00\x00\x00\x00\x00\x00\x00'
first 4: (0, 0, 0, 0) (0, 0, 0, 0)
Found data of type: 21 size: 0
Found data of type: 20 size: 34
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 52
Found data of type: 3 size: 2
Found data of type: 22 size: 3812
Found data of type: 21 size: 8249344
Found data of type: 7 size: 3
Contents (oninstall): '\n '
Found data of type: 4 size: 3486321
Uncompressing data...
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 33
Found data of type: 3 size: 34
Found data of type: 22 size: 3243
Found data of type: 21 size: 356352
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 36
Found data of type: 3 size: 34
Found data of type: 22 size: 3880
Found data of type: 21 size: 69632
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 73
Found data of type: 3 size: 34
Found data of type: 19 size: 34
Found data of type: 22 size: 3803
Found data of type: 21 size: 1409024
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 24
Found data of type: 3 size: 34
Found data of type: 22 size: 3892
Found data of type: 21 size: 217088
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 30
Found data of type: 3 size: 34
Found data of type: 22 size: 3886
Found data of type: 21 size: 188416
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 33
Found data of type: 3 size: 34
Found data of type: 19 size: 34
Found data of type: 22 size: 3843
Found data of type: 21 size: 114688
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 48
Found data of type: 3 size: 34
Found data of type: 22 size: 3868
Found data of type: 21 size: 135168
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 65
Found data of type: 3 size: 34
Found data of type: 22 size: 3851
Found data of type: 21 size: 389120
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 76
Found data of type: 3 size: 34
Found data of type: 22 size: 3840
Found data of type: 21 size: 397312
Found data of type: 9 size: 68
Found data of type: 1 size: 32
Found data of type: 16 size: 4
Found data of type: 2 size: 59
Found data of type: 3 size: 34
Found data of type: 22 size: 3857
Found data of type: 21 size: 118784
Found data of type: 4 size: 66124
Uncompressing data...
Found data of type: 9 size: 68
Found data of type: 16 size: 1
Returning the raw header and the rest of the file (each part in a list)
Files in package:
fil nx UPGRADEBOOTER 1391160062
fil nx UPGRADED 1391160062
dir 253 bin 1391070225
fil 253 bin/mlogin 1391070225
fil 253 bin/bash_login 1391070225
fil 253 bin/bash 1391071475
fil 253 bin/milo 1391071348
dir ex boot 1391159984
fil ex boot/vmlinuz-smp 1391159984
fil 180 boot/initrd.rgz 1391070277
fil nx boot/map 1391160062
fil 180 boot/milo.conf 1391070225
fil ex boot/vmlinuz 1391159986
fil 180 /var/pdb/system/crc 1391160062
Files in package:
fil ex boot/memtest.bin 1391072397
fil 180 /var/pdb/advanced-tools/crc 1391160090
for unpacknpk.py
root@kali:~/Desktop/mikrotik-npk-master# python unpacknpk.py routeros-x86-6.9.npk
Version 5 npk reader
'\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x04\x00\x00\x00i386\x02\x00'
Magic: '\x1e\xf1\xd0\xba' should be: '\x1e\xf1\xd0\xba'
Size after this: 15241883 Header size: 152 Data size: 15241891
Unknown stuff: '\x12\x00 \x00\x00\x00' should be: '\x01\x00 \x00\x00\x00'
Short description: routeros-x86
Revision, unknown, Minor, Major: '\x00f\t\x06' (0, 102, 9, 6)
Build time: '{\x86\xebR' Fri Jan 31 06:18:19 2014
Some other numbers: (0, 0, 16, 4, 0) should be: (0, 0, 16, 4, 0)
Architecture: i386
Another number: (2,) should be: (2,)
Long description: 'RouterOS for x86, includes all supported features\n'
Found data of type: 61726 size: 2459679440
Returning the raw header and the rest of the file (each part in a list)
The text was updated successfully, but these errors were encountered: