So I've did manual SQLi on a website and got a lot of emails + passwords in the format of
Anybody knows how I can convert this to a excel file with the format of
Help is appreciated.
Cheers!
What is the difference? You could manually do it, If I think of the program i'll let you know.
Jun 7, 2013 08:40 AM
(This post was last modified: Jun 7, 2013 08:49 AM by ๖ۣۜAlexander.)
It makes a different because I'm using a tool that checks if a email and a password matches. Would it work if I use notepad++ and replace ' ' with ','?
EDIT: lol, that actually worked. Sometimes the answer is right infront of you. Sorry, SOLVED!
I guess so, you could try it, Unless emails contain it, It would work
Worked. This is solved. Thanks!
goddamnsimmacapyoass
Or, for the future ;)
Python Code:
import string
a = raw_input("Enter name of the file (has to be in the same or in sub-directory)")
b = open(a,'r')
data = ""
while True:
dat = b.readline()
if not dat:
break
data = data + string.replace(dat,' ',',')
b.close()
c = open("output.txt",'w')
c.write(data)
c.close()
^Haven't written any python code for a while, there could be mistakes in it
Edit: Fuck this formatting :(
(Jun 7, 2013 09:35 AM)hansp Wrote: Or, for the future ;)
Python Code:
import string
a = raw_input("Enter name of the file (has to be in the same or in sub-directory)")
b = open(a,'r')
data = ""
while True:
dat = b.readline()
if not dat:
break
data = data + string.replace(dat,' ',',')
b.close()
c = open("output.txt",'w')
c.write(data)
c.close()
^Haven't written any python code for a while, there could be mistakes in it
Edit: Fuck this formatting :(
lol'd
Open it up in your favorite text editor, hit ctrl + h, replace any spaces with commas.
(Jun 7, 2013 10:04 AM)bckslsh. Wrote: lol'd
Open it up in your favorite text editor, hit ctrl + h, replace any spaces with commas.
Why easy if you can do it complicated ? :D
(Jun 7, 2013 10:10 AM)hansp Wrote: Why easy if you can do it complicated ? :D
That isn't complicated it's retarded.
|