|
Thanks to
Beakmyn for his help with this procedure | How to repair a Corrupted NS1 file |
Resources: Original Discussion Thread, NS1 File Reference, Required File Download
Assumptions: This page assumes you know how to download and extract a file to your own system. If you don't know how to do that, you probably shouldn't be attempting this procedure.
| NS1 Header Format: | 4E 65 74 53 | 0c 00 00 00 | 1C 00 00 00 |
| NetS dwSignature | dwFileversion | AP Count (little endian first) |
Step 1: Download and extract the File from the "Required file Download" link Above.
Step 2: Run XVi32.exe from the extracted directory.
Step 3: Make a backup copy of all your NS1 files you will be attempting to repair, in case something goes horribly wrong.
Step 4: Open the corrupt NS1 file in Xvi32.
Step 5: Reset the AP count in the File header to 00 00 00 00 (do not use the Delete or Backspace key at any time inside this file, it will delete the byte from the file)
Step 6: Try to open the file in Netstumbler
|
If you do not know how to translate Decimal numbers into Hex numbers, use the Calculator built into Windows, and change it into Scientific mode. Enter the AP count in Decimal then change the Calculator mode to Hex. A leading 0 (zero) may have to be added to certain values. Enter the values into the AP count based upon this table. |
||
| AP Count Examples | Header AP Count | Hex Value |
| 100 | 64 00 00 00 | 64 |
| 255 | FF 00 00 00 | FF |
| 1000 | E8 03 00 00 | 03 E8 |
| 100000 | A0 86 01 00 | 01 86 A0 |
|
Changing Calculator Mode |
![]() |
|
Enter in Decimal Value of AP Count |
![]() |
|
Displaying Hex Value of AP count |
![]() |
| Views 3133 |