Hack Forums
[C] Get string from website frame source - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C] Get string from website frame source (/showthread.php?tid=5549534)



Get string from website frame source - denn1s - Feb 12, 2017

Hello,

i want to get a string with a webbrowser from this :

exerciseEACABA.addItem("EJAACABA","acht|8");
exerciseEACABA.addItem("EHAACABA","5");
exerciseEACABA.addItem("EFAACABA","8");
exerciseEACABA.addItem("EDAACABA","3");
exerciseEACABA.addItem("EBAACABA","4");

he need to get the "8", "5", "3", "4" to a string / array list.

the "exerciseEACABA" is always the same on every page but "EBAACABA" is changing everytime.

sorry for my bad english but i hope someone can help me out.
my goal is to make a bot for this website to fill the answer automaticly.

Thanks for helping
Sincerely Dennis


* - Psycho - Feb 23, 2017

I wouldn't use C/C++ for this, personally. Could you provide more context of your development environment and project?


* - 0xDEAD10CC - Feb 25, 2017

There's nowhere near enough information here. Based on the description you gave the solution requested is simple string parsing, since we have no idea if this is in some kind of <script> element or where you're getting this data from.

Locate the function call, then extract the second argument, and grab the digit from the string in side the quotes.


* - caiveman - Feb 26, 2017

What the fuck is ecascba?????