OB_2
Notes :
HTTP response status codes – Responses are grouped in five classes:
Informational responses (100–199)
Successful responses (200–299)
Redirects (300–399)
Client errors (400–499)
Server errors (500–599)
Variables – 3 Kinds:
- Single – 1 Variable String
- List – Lists a sequence of variable strings
- Dictionary – List of string value pairs
BLOCKS:
Parse –
The Parse block permits you to parse information from a page with many one-of-a-kind parsing methods (LR / CSS / JSON / REGEX) and store it right into a Single or List variable.
- LR (Left and Right strings) allows to parse text among two strings [ Used for <COOKIES> ]
- CSS (CSS Selector) lets in to get an element’s attribute from an HTML page
- JSON (JavaScript Object Notation) allows to get the value of a JSON-serialized item
- REGEX (REGular EXpression) is a sophisticated parsing technique.
Key Check –
‘BAN’ or ‘SUCCESS’ of a proxy being used …
Ex. –
Type: Ban / OR /
Keys: <source> / contains / {“success”: fail}
Type: Success / OR /
Keys: <source> / contains / {“success”: true}
[ The OR mode will make the KeyChain cause if any of the keys is caused. The AND mode will make the KeyChain trigger if all the keys are triggered. ]
///////////////// Clean up combos (In Kali) : //////////////////////
Show number of lines in a txt file or combo list you are working with :
[ wc -l example.txt ]
Unzip a file in terminal :
[ tar xvzf ‘filename you are unzipping’ ] (wtf do those letters even mean?)
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Join multiple “combo .txt” files into one big one too work with :
(After you ‘cd’ over the the folder(or directory) that all the .txt combos are in, you enter the following command)
[ cat *.txt > new.txt ] (The ‘*’ is joining all .txt files ; and the ‘> new.txt’ is naming this new file you are creating)
Remove the seperators in the combo list to have them all match… (Ex. of separators… “: or ;”)
[ sed ‘s/;/:/g’ example.txt > new_example.txt ] (We are looking for ” ; ” in the list and changing them all to match ” : ” …. ” > ” saves to the name you choose for this new .txt file)
Sort combo list to easily see duplicates :
[ cat example.txt | sort > new_example.txt ]
Remove duplicates from a combo list :
( command used, sorts list and removes duplicates at the same time… )
[ cat example.txt | sort | uniq > new_example.txt ]
Keep just the password or email and remove the other from list :
[ cat example.txt | cut -d’ : ‘ -f2 > new_example.txt ] ( after ” -d’ : ‘ “you must decide to delete before or after the semicolon …… ” -f2 ” deletes just the email leaving you with a list of passwords) – (” -f1 ” deletes all the passwords leaving you with emails)
Search for specific email in a folder of txt combos using “zipgrep” :
(After you ‘cd’ over the the folder(or directory) that all the .txt combos are in, you enter the following command)
[ zgrep -a “example @ mail.com\`” *.txt` ] (Terminal will display which file the email is saved in)
- How to search for multiple emails at the same time :
[ zgrep -e “example @ mail.com” -e “example2 @ mail.com” -e “example3 @ mail.com” *.txt ]
{ You can also split one giant combo list into multiple smaller txt files, choosing however many lines per split you want }