Email separator

I would like to make an email separator, to facilitate my tests, since many providers. wanted each provider to be saved in a different text block.

example:

@gmail.com = gmail.txt
@yahoo.com = yahoo.txt
@live.com = live.txt

Remembering that it is for study. I’m sorry if I said something inappropriate.

BLOCK:Parse
  input = @input.USER
  leftDelim = "@"
  MODE:LR
  => VAR @provider
ENDBLOCK

BLOCK:FileAppendLines
  path = $"<provider>.txt"
  lines = $["<input.USER>:<input.PASS>"]
ENDBLOCK
```
1 Like

very good. but in my specific case, I wanted to test differently.

let’s assume that I have a list with 4 different provider types.

@gmail.com
@yahoo.com
@live.com
@outlook.com

however I want to enter with 2 CUSTOM INPUT, where I will choose in the first INPUT the first provider “@gmail.com” and “@live.com” for example.

oh from the list it will only return what was inserted in the two CUSTOM INPUT, which in the case of the example there would be
@gmail.com @live.com

I don’t know if I understand correctly, but from what I understand it’s very simple

BLOCK:FileAppendLines
  path = $"<input.fm1>.txt"
  lines = $["<input.USER>:<input.PASS>"]
ENDBLOCK

BLOCK:FileAppendLines
  path = $"<input.fm2>.txt"
  lines = $["<input.USER>:<input.PASS>"]
ENDBLOCK

image


USER: [email protected]

PASS: testpass

 

>> File Append Lines (FileAppendLines) <<

Appended lines to gmail.com.txt

 

>> File Append Lines (FileAppendLines) <<

Appended lines to live.com.txt

Screenshot_2021-12-22-14-09-27-381_com.microsoft.rdc.androidx
Screenshot_2021-12-22-14-09-05-680_com.microsoft.rdc.androidx
Screenshot_2021-12-22-14-08-56-550_com.microsoft.rdc.androidx

Did I do something wrong? because it saved even with the wrong provider

no, to do this you will need parse the email provider and do a keycheck after i’m kinda busy right now I’ll take a look later

1 Like

this part i know, thank you so much man