xmap icon indicating copy to clipboard operation
xmap copied to clipboard

Segmentation fault

Open idealeer opened this issue 3 years ago • 3 comments

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.

idealeer avatar Apr 02 '21 06:04 idealeer

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.

idealeer avatar Apr 02 '21 06:04 idealeer

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.

idealeer avatar Dec 02 '21 02:12 idealeer

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)" .

idealeer avatar Dec 09 '21 02:12 idealeer