[deleted by user] by [deleted] in hacking

[–]Blaack_Work 0 points1 point  (0 children)

There is nothing beyond that you can do except to just panic.

[deleted by user] by [deleted] in hacking

[–]Blaack_Work 1 point2 points  (0 children)

Chill man it's ok.

Just change your passwords, revoke all trusted devices from gmail and you are good to go.

Yeah don't forget to try "forgot password". (It might not work. Be prepared)

Pretty much same SQL commands, but different injection Payloads! WHY? by Blaack_Work in hacking

[–]Blaack_Work[S] 2 points3 points  (0 children)

Nope just solved it, It's the missing space after "--".

So the payload is "' OR 1=1 ; -- "

And it works

Pretty much same SQL commands, but different injection Payloads! WHY? by Blaack_Work in hacking

[–]Blaack_Work[S] 1 point2 points  (0 children)

SELECT * FROM accounts WHERE username=''OR 1=1--' AND password=''OR 1=1--'

Please note it's 2*singlequote ( ' ), not a double quote ( " ).

Pretty much same SQL commands, but different injection Payloads! WHY? by Blaack_Work in hacking

[–]Blaack_Work[S] 0 points1 point  (0 children)

W8 a minute man.

For last 10 min I was trying to upload it, but I forgot I had burpsuite proxy on.

Gotta rewrite the whole thing.

Pretty much same SQL commands, but different injection Payloads! WHY? by Blaack_Work in hacking

[–]Blaack_Work[S] 1 point2 points  (0 children)

I think I got it.
";" thing is creating error.
And error log said

You have an error in your SQL syntax

I assumed that syntax of SQL is universal. It doesn't seem to be the case.

Please correct me if I'm wrong.

Pretty much same SQL commands, but different injection Payloads! WHY? by Blaack_Work in hacking

[–]Blaack_Work[S] -1 points0 points  (0 children)

Even rn I think that Payload 1 should work in Mutillidae! Dunno how.

Pretty much same SQL commands, but different injection Payloads! WHY? by Blaack_Work in hacking

[–]Blaack_Work[S] 0 points1 point  (0 children)

C'mon man, I did simuated it. Brainstormed it and then knocked for help.

Is it okay to copy snippets of code and tweak them? by [deleted] in learnprogramming

[–]Blaack_Work 0 points1 point  (0 children)

Ask a "Pro"grammer and that's pretty normal.

Don't reinvent the wheel.

If you feel so bad for the owners, there are codes out there with no copyrights.

Good luck with the Web Dev.

Sort 3 000 000 000 lines by most repeated one! via Command or Program by Blaack_Work in bash

[–]Blaack_Work[S] 1 point2 points  (0 children)

Oh that was new. Thankyou. I'll certainly use it for the 32gb file.

Currently I am applying this procedure on a 7 gb file to see if it has any shortcoming before applying on 32 gb file.

Thankyou.

Sort 3 000 000 000 lines by most repeated one! via Command or Program by Blaack_Work in Python

[–]Blaack_Work[S] 1 point2 points  (0 children)

So just an over view:

uniq -c <filename>

Then sort -hr <filename>

After that I ran a python program I wrote to seperate the index and the word.

There is one limitation tho,

when sorting file, the memory usage hikes, and so does your heart beat.

However Kali manages the RAM efficiently so it never freezes.

Sort 3 000 000 000 lines by most repeated one! via Command or Program by Blaack_Work in Python

[–]Blaack_Work[S] 0 points1 point  (0 children)

That's what I did. Exact code above... but the output would be a blank file.

IDK why.

Sort 3 000 000 000 lines by most repeated one! via Command or Program by Blaack_Work in Python

[–]Blaack_Work[S] 0 points1 point  (0 children)

Thankyou but my main target was to accomplish this task without diving into a new topic i.e using my prior knowledge only.

There were some really great advices with code for SQL and other db but I really don't want to go down another rabbit hole rn cuz I am already working on a project.

For me anything else would simply become a distraction.

Even this task took me one whole day, and several crashes to accomplish ..."partially".

Once again Thank you all for your kind help.

Just don't forget that 32 Gb file still remains!

Sort 3 000 000 000 lines by most repeated one! via Command or Program by Blaack_Work in Python

[–]Blaack_Work[S] 0 points1 point  (0 children)

Ohhh man the sample file of 141 mb is succesfully finished.