How can i parse The TCP connection source

I need to parse this , can someone help me ?
Screenshot_2021-04-07-04-39-32-529_com.microsoft.rdc.android

There is no way to parse that, sorry.

1 Like

Thank you Ruri <3
This is my source
i need to get “Succesfully …” message with port info "… on port 587 "
so u can check this source if you have any idea

PRINT ################### TEST CONNECTION HOST #######################

#TCP1 TCP Connect "<DOMAIN>" "587" UseSSL=FALSE -> CAP "CNX" 

#TCP1 TCP Connect "<DOMAIN>" "465" -> CAP "CNX" 

IF "<CNX>" Contains "220"

PARSE "<DOMAIN>" LR "" "" -> VAR "HOST" 

JUMP #GO
ELSE "<CNX>" DoesNotContanin "220"

#TCP1 TCP Connect "<HOST>" "587" UseSSL=FALSE -> CAP "CNX" 

#TCP1 TCP Connect "<HOST>" "465" -> CAP "CNX" 

IF "<CNX>" Contains "220"

PARSE "<HOST>" LR "" "" -> VAR "HOST" 

JUMP #GO
ELSE "<CNX>" DoesNotContanin "220"

#TCP2 TCP Connect "smtp.<DOMAIN>" "587" UseSSL=FALSE -> CAP "CNX" 

#TCP2 TCP Connect "smtp.<DOMAIN>" "465" -> CAP "CNX" 

IF "<CNX>" Contains "220"

PARSE "smtp.<DOMAIN>" LR "" "" -> VAR "HOST" 

JUMP #GO
ELSE "<CNX>" DoesNotContanin "220"

#TCP3 TCP Connect "relay.<DOMAIN>" "587" UseSSL=FALSE -> CAP "CNX" 

#TCP3 TCP Connect "relay.<DOMAIN>" "465" -> CAP "CNX" 

IF "<CNX>" Contains "220"

PARSE "relay.<DOMAIN>" LR "" "" -> VAR "HOST" 

JUMP #GO
ELSE "<CNX>" DoesNotContanin "220"

#TCP4 TCP Connect "mail.<DOMAIN>" "587" UseSSL=FALSE -> CAP "CNX" 

#TCP4 TCP Connect "mail.<DOMAIN>" "465" -> CAP "CNX" 

IF "<CNX>" Contains "220"

PARSE "mail.<DOMAIN>" LR "" "" -> VAR "HOST" 

JUMP #GO
**ELSE "<CNX>" DoesNotContanin "220"**

** ENDIF**
** IF “” Contains “on port 587”**
** SET VAR “PORT” “587”**
** ELSE “” Contains “on port 465”**
** SET VAR “PORT” “465”**
** ENDIF**
This is only the concept of what i need

#GO REQUEST POST "https://www.exemple.co/Smtp/CreateTest" 
  CONTENT "SmtpServer=<HOST>&port=<PORT>&sso=Auto&username=<USER>&password=<PASS>&from=<USER>&to=<CHECK>" 
  CONTENTTYPE "application/x-www-form-urlencoded; charset=UTF-8" 
  HEADER "User-Agent: <UA>" 
  HEADER "Accept: application/json, text/javascript, */*; q=0.01" 
  HEADER "Accept-Language: en-US,en;q=0.5" 
  HEADER "Accept-Encoding: gzip, deflate, br" 
  HEADER "X-Requested-With: XMLHttpRequest" 
  HEADER "Content-Length: 300" 
  HEADER "Origin: https://www.exemple.co" 
  HEADER "Connection: keep-alive" 
  HEADER "Referer: https://www.exemple.co/smtp-test"

you can try to parse all of the response and do a keycheck for select what u want

i need to parse only the selected text in first pic bruh