hashcat Forum
Adding an x to the end of the line of a file. - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Adding an x to the end of the line of a file. (/thread-10294.html)

Pages: 1 2


Adding an x to the end of the line of a file. - Alcanjp - 08-26-2021

Hello,

  This is a follow up of the topic posted
https://hashcat.net/forum/thread-10286-post-53395.html#pid53395


  Although I was able to get comprehensive help but I need a different approach. 

I ran this line "hashcat -m 14600 -a 3 -w 3 -1 Xx LUKS_Partition.001 ?l?l?l?l?l?l?l?l?l?1" and I don't have 4600 Years so my next possibility is:
I generated a list of 10.000.000 of 9 Characters Small caps and I need the letter x added to the list.
Notepad ++ crashes
by in Python I have this but it does not write to the file, reads it...

file = open('lines.txt', 'r')
lines = file.readlines()
lines = [line.replace("\n", "") +'x' for line in lines]


And I am looking to get may be,  the Nvidia RTX 3090 GPU to provide me a better chance. 

Appreciate the help.


RE: Adding an x to the end of the line of a file. - NoReply - 08-26-2021

Have a read here: https://hashcat.net/wiki/doku.php?id=rule_based_attack
TLDR; Create your own rule file with the two lines
$x
$X

and specify it in your command with the -r Parameter.


RE: Adding an x to the end of the line of a file. - Alcanjp - 08-26-2021

(08-26-2021, 09:13 AM)NoReply Wrote: Have a read here: https://hashcat.net/wiki/doku.php?id=rule_based_attack
TLDR; Create your own rule file with the two lines
$x
$X

and specify it in your command with the -r Parameter.

I previously asked where that file needed to be located".rule" and got no answer and therefor I thought it was not necessary.


RE: Adding an x to the end of the line of a file. - foordeluxe - 08-26-2021

(08-26-2021, 09:36 AM)Alcanjp Wrote:
(08-26-2021, 09:13 AM)NoReply Wrote: Have a read here: https://hashcat.net/wiki/doku.php?id=rule_based_attack
TLDR; Create your own rule file with the two lines
$x
$X

and specify it in your command with the -r Parameter.

I previously asked where that file needed to be located".rule" and got no answer and therefor I thought it was not necessary.

You could place it inside the folder that is named rules in hashcat, which comes shipped with some known rules.


RE: Adding an x to the end of the line of a file. - Alcanjp - 08-26-2021

(08-26-2021, 11:14 AM)fooble Wrote:
(08-26-2021, 09:36 AM)Alcanjp Wrote:
(08-26-2021, 09:13 AM)NoReply Wrote: Have a read here: https://hashcat.net/wiki/doku.php?id=rule_based_attack
TLDR; Create your own rule file with the two lines
$x
$X

and specify it in your command with the -r Parameter.

I previously asked where that file needed to be located".rule" and got no answer and therefor I thought it was not necessary.

You could place it inside the folder that is named rules in hashcat, which comes shipped with some known rules.

Thank you
ubuntu@ip-xxxxxxxxxx:~/Doc$ hashcat -r example.rule --stdout word
WORdx
WORdX
ubuntu@ip-172-26-5-159:~/Doc$


RE: Adding an x to the end of the line of a file. - Alcanjp - 08-26-2021

(08-26-2021, 11:51 AM)Alcanjp Wrote:
(08-26-2021, 11:14 AM)fooble Wrote:
(08-26-2021, 09:36 AM)Alcanjp Wrote:
(08-26-2021, 09:13 AM)NoReply Wrote: Have a read here: https://hashcat.net/wiki/doku.php?id=rule_based_attack
TLDR; Create your own rule file with the two lines
$x
$X

and specify it in your command with the -r Parameter.

I previously asked where that file needed to be located".rule" and got no answer and therefor I thought it was not necessary.

You could place it inside the folder that is named rules in hashcat, which comes shipped with some known rules.

Thank you
ubuntu@ip-xxxxxxxxxx:~/Doc$ hashcat -r example.rule --stdout word
WORdx
WORdX
ubuntu@ip-172-26-5-159:~/Doc$

Now it's working
hashcat -m 14600 -a 0 -w 3 -r example.rule  pass.txt -o test_output.txt --stdout
vWjQDS8EX
1DoSvo8Hx
1DoSvo8HX

Thanks


RE: Adding an x to the end of the line of a file. - Snoopy - 08-27-2021

your attack speed will be still the same, maybe some litte boosts from rules amplifier, but still slow due to the high iterations in luks

so it doesnt matter using bruteforce or a bruteforce like generated list for this attack


RE: Adding an x to the end of the line of a file. - Alcanjp - 08-28-2021

(08-27-2021, 02:31 PM)Snoopy Wrote: your attack speed will be still the same, maybe some litte boosts from rules amplifier, but still slow due to the high iterations in luks

so it doesnt matter using bruteforce or a bruteforce like generated list for this attack

Yes I am basically fu**ed all my data is inaccessible.  But can this change if there are better GPU's ?  
What are the options if any?


RE: Adding an x to the end of the line of a file. - Snoopy - 08-30-2021

(08-28-2021, 12:51 PM)Alcanjp Wrote:
(08-27-2021, 02:31 PM)Snoopy Wrote: your attack speed will be still the same, maybe some litte boosts from rules amplifier, but still slow due to the high iterations in luks

so it doesnt matter using bruteforce or a bruteforce like generated list for this attack

Yes I am basically fu**ed all my data is inaccessible.  But can this change if there are better GPU's ?  
What are the options if any?

well just keep it running and hope for a lucky punch, when using bruteforce by hashcat generator it will shuffle the candidates anyway, not quite sure whether this also happens when feeding hashcat with a passwordlist, maybe someone of the devs can answer this


RE: Adding an x to the end of the line of a file. - Alcanjp - 08-30-2021

(08-30-2021, 06:35 PM)Snoopy Wrote:
(08-28-2021, 12:51 PM)Alcanjp Wrote:
(08-27-2021, 02:31 PM)Snoopy Wrote: your attack speed will be still the same, maybe some litte boosts from rules amplifier, but still slow due to the high iterations in luks

so it doesnt matter using bruteforce or a bruteforce like generated list for this attack

Yes I am basically fu**ed all my data is inaccessible.  But can this change if there are better GPU's ?  
What are the options if any?

well just keep it running and hope for a lucky punch, when using bruteforce by hashcat generator it will shuffle the candidates anyway, not quite sure whether this also happens when feeding hashcat with a passwordlist, maybe someone of the devs can answer this

Luck and time are the factors, but my GPU @ 75h per sec...  plus it's a laptop.  

Also is it possible to run hashcat on the Hash Header of 2mb that I extracted instead of the partition image that I created?  

And I asked this site onlinehashcrack that supposedly have 20 rtx 3090 and they quoted 7000 days to Crack a 10 low cap characters.  I am not sure if that is correct.

One positive aspect is that I am learning alot on this subject  if I would known all this I would not have been locked out of my disk.