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

Allow channel number in hexa in cli argument #21

Merged
merged 1 commit into from
Jun 22, 2024

Conversation

fredericgermain
Copy link
Contributor

As title says, allow giving channel with hexadecimal notation

Example :

./whsniff -c 0xb

is the same as

./whsniff -c 11

@homewsn
Copy link
Owner

homewsn commented Jun 14, 2024

Thank you. I think this will be useful. But your code converts, for example, dxb to 13.

@fredericgermain
Copy link
Contributor Author

fredericgermain commented Jun 21, 2024

Hi!

I pushed a new commit that improve the parsing, and handle the dxb case.

@homewsn homewsn merged commit 3e6f74a into homewsn:master Jun 22, 2024
@homewsn
Copy link
Owner

homewsn commented Jun 22, 2024

Ok. Thanks.

@fredericgermain fredericgermain deleted the args_hexa_channel branch June 30, 2024 15:54
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

Successfully merging this pull request may close these issues.

2 participants