Hi all:
I hope someone can help me. I'm trying to extract repeative, multi-line keys from a *.REG file. Specifically, the e-mails. Now I've seen the post Convert REG_MULTI_SZ hex to text, and that will work just fine, once I get the lines out. Here is what I want to do
============= Begin "Cut down registry entries"
"Account Name"= (hex strings like in the above post,some multi-line)
"SMTP Use Auth"=(dword value)
"Display Name"= (hex strings like in the above post,some multi-line)
"Email"= hex:ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,\
ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,\
ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,\
ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00
"POP3 Server"= (hex strings like in the above post,some multi-line)
"SMTP Server"= (hex strings like in the above post,some multi-line)
"POP3 User"= (hex strings like in the above post,some multi-line)
"POP3 Password"= (hex strings like in the above post,some multi-line)
============= End "Cut down registry entries"
Of cource, the email entry above isn't a valid e-mail.
What I'd like to do, is to extract the lines within the "Email=" area, in this case:
"Email"= hex:ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,\
ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,\
ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,\
ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00
Then put them into a new file, search and replace "Email"= hex: with nothing. After that, I will then run the script from "Convert REG_MULTI_SZ hex to text" manually.
I tried to find an example of the finding of the strings, and copying them, but I couldn't (maybe I had a brain fart). But any help would be greatly appreciated.
I have a large number of e-mails, and by extracting the entries from the registry makes it easier to see what, if any is missing.
THANKS LOADS IN ADVANCE!
I hope someone can help me. I'm trying to extract repeative, multi-line keys from a *.REG file. Specifically, the e-mails. Now I've seen the post Convert REG_MULTI_SZ hex to text, and that will work just fine, once I get the lines out. Here is what I want to do
============= Begin "Cut down registry entries"
"Account Name"= (hex strings like in the above post,some multi-line)
"SMTP Use Auth"=(dword value)
"Display Name"= (hex strings like in the above post,some multi-line)
"Email"= hex:ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,\
ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,\
ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,\
ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00
"POP3 Server"= (hex strings like in the above post,some multi-line)
"SMTP Server"= (hex strings like in the above post,some multi-line)
"POP3 User"= (hex strings like in the above post,some multi-line)
"POP3 Password"= (hex strings like in the above post,some multi-line)
============= End "Cut down registry entries"
Of cource, the email entry above isn't a valid e-mail.
What I'd like to do, is to extract the lines within the "Email=" area, in this case:
"Email"= hex:ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,\
ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,\
ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,\
ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00,ff,00
Then put them into a new file, search and replace "Email"= hex: with nothing. After that, I will then run the script from "Convert REG_MULTI_SZ hex to text" manually.
I tried to find an example of the finding of the strings, and copying them, but I couldn't (maybe I had a brain fart). But any help would be greatly appreciated.
I have a large number of e-mails, and by extracting the entries from the registry makes it easier to see what, if any is missing.
THANKS LOADS IN ADVANCE!