Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault #2

Open
idealeer opened this issue Apr 2, 2021 · 3 comments
Open

Segmentation fault #2

idealeer opened this issue Apr 2, 2021 · 3 comments

Comments

@idealeer
Copy link
Owner

idealeer commented Apr 2, 2021

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
Copy link
Owner Author

idealeer commented Apr 2, 2021

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
Copy link
Owner Author

idealeer commented Dec 2, 2021

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 idealeer closed this as completed Dec 6, 2021
@idealeer
Copy link
Owner Author

idealeer commented Dec 9, 2021

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 idealeer reopened this Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant