hashcat Forum
Rule syntax question - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html)
+--- Forum: General Help (https://hashcat.net/forum/forum-8.html)
+--- Thread: Rule syntax question (/thread-4108.html)



Rule syntax question - r9290xocl - 02-20-2015

I would like to verify if these 2 functions are the same:

Function 1: $$$1

Function 2: $$ $$ $1


RE: Rule syntax question - undeath - 02-20-2015

no .


RE: Rule syntax question - r9290xocl - 02-21-2015

Whats difference?


RE: Rule syntax question - Szulik - 02-21-2015

assume that wordlist got password XXX
right now
func.1 will be XXX$1
func.2 will be XXX$$1


RE: Rule syntax question - r9290xocl - 02-21-2015

(02-21-2015, 08:57 PM)Szulik Wrote: assume that wordlist got password XXX
right now
func.1 will be XXX$1
func.2 will be XXX$$1

Thanks...

So $$$1 is the same as $$ $1

meaning $$<special char> as in I can put $$% for XXX% ? Why not $%...?


RE: Rule syntax question - atom - 02-23-2015

Quote:So $$$1 is the same as $$ $1

Correct.

Quote:meaning $$<special char> as in I can put $$% for XXX% ? Why not $%...?

That makes no sense. Do you mean this?

$$ $%

That would work.


RE: Rule syntax question - r9290xocl - 02-23-2015

Lets take a word, ABC.

$$$1 -> ABC$1
$$ $1 -> ABC$1

What I am trying to understand is how come $$$1 is the same as $$ $1.. you would think it would be $$1, for instance..


RE: Rule syntax question - Szulik - 02-23-2015

$ mean that You want add sth at the end of word, so $$ first char mean that You appent, second is char what You want to append
$$$1 ->ABC$1
$$$1 and $$ $1 is the same

anyway, plz read http://hashcat.net/wiki/doku.php?id=rule_based_attack
there is all explained


RE: Rule syntax question - undeath - 02-23-2015

rules only work on single characters (well, actually bytes), not character sequences. Rules are not delimited by whitespace. Whitespace is just for making them look nicer.


RE: Rule syntax question - r9290xocl - 02-23-2015

^^ Now it makes sense, thanks undeath

In other words, $$$1 is just saying, append $ and then right after, append 1.

What I was thinking is it was possible to write it as "$$1", meaning append $ and 1 in one shot, but I am realizing that is not possible.