![]() |
|
How to edit a lot of combo lists ? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4) +---- Thread: How to edit a lot of combo lists ? (/showthread.php?tid=5933071) |
How to edit a lot of combo lists ? - SP2005 - Jan 23, 2019 I have a lot of combo lists, but would like to delete all the email addresses and just keep the passwords. Anyone knows of a program that can load many combo lists and just delete the email ? RE: How to edit a lot of combo lists ? - Faith Connors - Jan 23, 2019 just write a simple python script: 1. enumerate all files (txt files i guess) in a directory, store them in an array 2. for loop to sequentially go through all the files by name, stored in array --2.1. sequentially find matches for the following regex: \n*: --2.2. replace regex matches with \n --2.3 close file RE: How to edit a lot of combo lists ? - SP2005 - Jan 23, 2019 Thanks. I thought about this option, but I don't know enough about Python to code a program like that. But I'll guess that I have to learn python soon. RE: How to edit a lot of combo lists ? - PerfectStorm - Jan 23, 2019 notepad ++ is your answer RE: How to edit a lot of combo lists ? - SP2005 - Jan 23, 2019 Are you sure that Notepad++ will be able to edit one or more txt files by it self ? Like removing the email address in each line and just keep the password ? Where in the Notepadd++ menu should I look for this option ? RE: How to edit a lot of combo lists ? - Faith Connors - Jan 23, 2019 (Jan 23, 2019 03:09 PM)SP2005 Wrote: Are you sure that Notepad++ will be able to edit one or more txt files by it self ? Like removing the email address in each line and just keep the password ? i think he was mainly referring to the find/replace option. just use the regexes i listed and that should do it. dunno if it can scan the occurences in multiple files, let alone have all the files loaded, if you really have as many as you say RE: How to edit a lot of combo lists ? - realsunjester - Jan 23, 2019 It would be rather easy using grep, sed or even cut. let's say I have a combo file with emails and then passwords (in a file named combo), like this.. Code [email protected]:072804I think cut is the easiest for someone who isn't familiar with regular expressions in unix Code cat combo|cut -d':' -f2>combo2;cat combo2RE: How to edit a lot of combo lists ? - 007 - Jan 24, 2019 https://regexr.com can do this too if you for whatever reason can't do any of the above. RE: How to edit a lot of combo lists ? - SP2005 - Jan 25, 2019 (Jan 23, 2019 03:58 PM)Faith Connors Wrote: i think he was mainly referring to the find/replace option. just use the regexes i listed and that should do it. Thanks. I'll take a look at that :) (Jan 23, 2019 04:20 PM)realsunjester Wrote: It would be rather easy using grep, sed or even cut. let's say I have a combo file with emails and then passwords (in a file named combo), like this.. Thanks :) I have only used those tools very few times, but will look them up again. (Jan 23, 2019 04:20 PM)realsunjester Wrote: It would be rather easy using grep, sed or even cut. let's say I have a combo file with emails and then passwords (in a file named combo), like this.. I took an extra look at this line you wrote too me and hope I now understand how it is put together. cat combo : Opens the combo file cut -d':' -f2 : I think it is the part where you select if it is before or after the : key, that it should delete text >combo2 : create the new file cat combo2 : Show content of the new file Another question. What if an email and password sometimes is separated by ; or : ind the same txt file. "cut -d':' only works with : not ; I tried this - cat combo.txt|cut -d';' or ':' -f2>combo2;cat combo2 - but it did of course not work for me. How can I do this ? RE: How to edit a lot of combo lists ? - realsunjester - Jan 25, 2019 (Jan 25, 2019 04:25 AM)SP2005 Wrote: Thanks. I'll take a look at that :) these are basic tools that come with unix, so any linux distro will work. im using ubuntu. Code cat combo|cut -d':' -f2>combo2;cat combo2cat combo, will print the file to the console (combo is the name of the file you want to edit) |, this is a pipe, it will take the previous command and "push" the results it into the next command cut -d':' -f2, this is the cut command, it cuts inputs into columns. -d specifies the delimiter, -f specifies which column to print >combo2, this redirects the output of everything we did to a file named combo2 ;cat combo2, the semicolon tells unix to process another command, which prints out the combo2 file RE: How to edit a lot of combo lists ? - SP2005 - Jan 26, 2019 If I want to find all .eu mails. How do I do it ? If I use grep and write - grep .eu file.txt - it takes all lines with eu in it and not .eu I found this, but it is not working as I want it to. It also finds combination where the eu is in the password grep -E "([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]"+\.eu")" file.txt RE: How to edit a lot of combo lists ? - iyed - Jan 26, 2019 If it is Email:Password,Simply go to hashkiller and go to list tools and after that paste the combo and you will be able to divide it and keep the password or the emails. Pm if you get a problem. RE: How to edit a lot of combo lists ? - SP2005 - Jan 27, 2019 Thanks. I did not know about the Hashkiller site :) |