Jump to content
UBot Underground

Problem with read this from Page


Recommended Posts

Hello,

I have this source code (under the post) and want now read the word last the sign "|" and want only extract the word "Hgoysiwhich"!

Can someone help me, how can i make this?

 

 

Here ist full sourcecode:

 

<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><script defer="defer" src="CaptchaSniper127.0.0.1-Dateien/sf_main.htm"></script><script src="CaptchaSniper127.0.0.1-Dateien/sf_preloader.jsp" type="text/javascript"></script><script src="CaptchaSniper127.0.0.1-Dateien/sf_code.jsp" type="text/javascript"></script><script src="CaptchaSniper127.0.0.1-Dateien/main.js" type="text/javascript"></script><script src="CaptchaSniper127.0.0.1-Dateien/base_single_icon.js" type="text/javascript"></script></head><body>0|593430|1539|0|0|Hgoysiwhich<iframe style="position: absolute; top: -100px; left: -100px; z-index: -10; border: medium none; visibility: hidden; width: 1px; height: 1px;" src="CaptchaSniper127.0.0.1-Dateien/userData.htm"></iframe><iframe src="CaptchaSniper127.0.0.1-Dateien/register_server_layer.htm" style="position: absolute; width: 1px; height: 1px; left: -100px; top: -100px; visibility: hidden;"></iframe></body></html>

 

Thx!

Link to post
Share on other sites

This is simplified version

 

set(#html"<html><head>
<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\"><script defer=\"defer\" src=\"CaptchaSniper127.0.0.1-Dateien/sf_main.htm\"></script><script src=\"CaptchaSniper127.0.0.1-Dateien/sf_preloader.jsp\" type=\"text/javascript\"></script><script src=\"CaptchaSniper127.0.0.1-Dateien/sf_code.jsp\" type=\"text/javascript\"></script><script src=\"CaptchaSniper127.0.0.1-Dateien/main.js\" type=\"text/javascript\"></script><script src=\"CaptchaSniper127.0.0.1-Dateien/base_single_icon.js\" type=\"text/javascript\"></script></head><body>0|593430|1539|0|0|Hgoysiwhich<iframe style=\"position: absolute; top: -100px; left: -100px; z-index: -10; border: medium none; visibility: hidden; width: 1px; height: 1px;\" src=\"CaptchaSniper127.0.0.1-Dateien/userData.htm\"></iframe><iframe src=\"CaptchaSniper127.0.0.1-Dateien/register_server_layer.htm\" style=\"position: absolute; width: 1px; height: 1px; left: -100px; top: -100px; visibility: hidden;\"></iframe></body></html>""Global")
set(#regex$find regular expression(#html"(?<=<body>).*?(?=<iframe style=)"), "Global")
set(#text$replace regular expression(#regex"\\d|\\|"$nothing), "Global")

 

Works here

TC

 

edited new version

 

easier for you to see

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...