cap2hccapx essid filters
#1
Hi!

I am using cap2hccapx 1.8 to convert cap files created with besside-ng (not modified with any other tools).

According to documentation usage is as follows:

Quote:usage: ./cap2hccapx.bin input.pcap output.hccapx [filter by essid] [additional network essid:bssid]

I was wondering if [filter by essid] supports wildcards or anything similar to convert *only* essids matching with a pattern (eg. starting with "ProviderName")

I have been digging google and forums but could not get it to work. Do I need an external script and convert hashes individually for different networks?

Thanks,

edit: OS used is W7 x64
#2
Currently, the code searches for exact matches.

This could be simply changed by, for instance, replacing strcmp () with strchr () here: https://github.com/hashcat/hashcat-utils...px.c#L1134
Full support of advanced regular expressions might be slightly more difficult than the strchr () solution (but fortunately there exists some libraries, includes that could help even with more advanced expressions).

I'm not sure if this feature is useful for many users, but if you think so, you might open a github issue and request it (or even better: make a pull request Wink ).
#3
(07-14-2017, 09:44 AM)philsmd Wrote: Currently, the code searches for exact matches.

This could be simply changed by, for instance, replacing strcmp () with strchr () here: https://github.com/hashcat/hashcat-utils...px.c#L1134
Full support of advanced regular expressions might be slightly more difficult than the strchr () solution (but fortunately there exists some libraries, includes that could help even with more advanced expressions).

I'm not sure if this feature is useful for many users, but if you think so, you might open a github issue and request it (or even better: make a pull request Wink ).

Thank you, I will give it a try!