Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string find_string_between(string source, string first, string second) {
- int begin_position = index_of(source, first);
- string trimmed = substring(source, begin_position + length(first));
- int end_position = index_of(trimmed, second);
- return substring(trimmed, 0, end_position);
- }
- string get_roe_password() {
- string page_text = visit_url("charpane.php");
- string password = find_string_between(page_text, "familiar.php?action=guideme&pwd=", ">");
- return password;
- }
- string get_tracked_phylum(string raw) {
- return find_string_between(raw, "is currently guiding you towards: <b>", "<");
- }
- string get_tracked_number(string raw) {
- return find_string_between(raw, "You've found <b>", "<");
- }
- void main() {
- string roe_password = get_roe_password();
- string roe_text = visit_url("familiar.php?action=guideme&pwd=" + roe_password);
- visit_url("choice.php?pwd=" + roe_password + "&whichchoice=1396&option=1&cat=fish");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement