xmap
xmap copied to clipboard
Segmentation fault
Describe the bug
Once I run a simple command, there is a Segmentation fault
error.
To Reproduce
Run the following command:
xmap -4 8.8.8.8
Error shows: Segmentation fault
.
Maybe that your machine's memory capacity is a little deficient.
Note:
XMap uses the bloomfilter to check the duplicate results, which costs some of the memory.
Choose the proper --est-elements
to adapt to your memory capacity. Default to 5e8
.
After testing, 5e8
is fine for a 4GB memory machine.
Besides, if you do not need to de-duplicate, use --output-filter="success = 1 && (repeat = 0 || repeat = 1)"
and decrease --est-elements
.
If the --est-elements
is a little small, by default, XMap will miss some valid responses due to the de-duplicate function.
To solve this, use --output-filter="success = 1 && (repeat = 0 || repeat = 1)"
.