NEW: We have a Discord server now. Click here to go there now!

NOTE: Why not use our List Manager to crack your lists? Its easy and enables better management.

NOTE: When cracking WPA/WPA2 passwords, make sure you check gpuhash.me first incase it's already been processed.

Home - General Discussion - App.RegEx : need help for a regex


5 Results - Page 1 of 1 -
1
Author Message
Avatar
Kalium

Status: Cracker
Joined: Thu, 27 Sep 2018
Posts: 123
Team:
Reputation: 209 Reputation
Offline
Mon, 04 Feb 2019 @ 18:21:07

Hello,

I need your help.

I want to use : App.RegEx.exe x="\b[lud?]+@\b" o="out.txt" "in.txt"

My in.txt contains :
?l@
?u@
?d@
?l?u@
?u?l@

It's not working. I think it's because the "?".

Can you help me to fix it ?

Thanks,
Kalium


If I helped a +rep is appreciated !

BTC : 3Gw6qqkXFG5CtwgV5HNHXVmBwZh2wG9G9n

Avatar
blandyuk
Admin / Owner
Status: Trusted
Joined: Tue, 05 Jul 2011
Posts: 3213
Team: HashKiller
Reputation: 4165 Reputation
Offline
Mon, 04 Feb 2019 @ 19:48:24

Your getting hashcat ?l?u?d confused in RegEx

For your one, use: ^\w+[@]$

Note this matches each line. If you want to process faster, you can do it in blocks via: \w+[@]

Use https://regex101.com/ to test your RegEx and also see the tutorials.


Please read the forum rules | Please read the paid section rules
I accept private hash lists, with forum donations only.
BTC: 1JZGVq58m4RS1QQS8JE5xndzDFy2BvGU6y
GPU Power: 9x GTX 1070 + 6x GTX 1080

Avatar
Kalium

Status: Cracker
Joined: Thu, 27 Sep 2018
Posts: 123
Team:
Reputation: 209 Reputation
Offline
Mon, 04 Feb 2019 @ 20:28:49

Hello blanyuk,

My test is here and works fine : https://regex101.com/r/o3TVQH/2

How i can translate it for App.RegEx ?

How i can get "?" working as char and not as parameter of my regexpr ?

Thanks,
Kalium


If I helped a +rep is appreciated !

BTC : 3Gw6qqkXFG5CtwgV5HNHXVmBwZh2wG9G9n

Avatar
dipeperon

Status: Member
Joined: Tue, 03 Apr 2018
Posts: 411
Team:
Reputation: 425 Reputation
Offline
Mon, 04 Feb 2019 @ 21:36:25

Try putting a slash \ in front of the questionmark


My haschat stuff (rules, scripts): https://github.com/theherp/Hashcat-stuff

Avatar
Kalium

Status: Cracker
Joined: Thu, 27 Sep 2018
Posts: 123
Team:
Reputation: 209 Reputation
Offline
Tue, 05 Feb 2019 @ 07:07:20

Hello dipeperon,

It's working but in the output file all the first "?" is lost like :

u?l?l?l?l?l?l.?u?l?l?l?l?l?l@
u?l?l?l?l?l?l?l?l?l?l?l@
l?l?l?l?l?l?l?l?l@

My regex is :

x="\b[lud_+-.\?%]+@\b"

Regards,
Kalium


If I helped a +rep is appreciated !

BTC : 3Gw6qqkXFG5CtwgV5HNHXVmBwZh2wG9G9n


5 Results - Page 1 of 1 -
1

We have a total of 197501 messages in 24432 topics.
We have a total of 21706 registered users.
Our newest registered member is Tyler630.