Advertisement
Guest User

change roe target to fish

a guest
Dec 10th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. string find_string_between(string source, string first, string second) {
  2. int begin_position = index_of(source, first);
  3. string trimmed = substring(source, begin_position + length(first));
  4. int end_position = index_of(trimmed, second);
  5.  
  6. return substring(trimmed, 0, end_position);
  7. }
  8.  
  9. string get_roe_password() {
  10. string page_text = visit_url("charpane.php");
  11. string password = find_string_between(page_text, "familiar.php?action=guideme&pwd=", ">");
  12.  
  13. return password;
  14. }
  15.  
  16. string get_tracked_phylum(string raw) {
  17. return find_string_between(raw, "is currently guiding you towards: <b>", "<");
  18. }
  19.  
  20. string get_tracked_number(string raw) {
  21. return find_string_between(raw, "You've found <b>", "<");
  22. }
  23.  
  24. void main() {
  25. string roe_password = get_roe_password();
  26. string roe_text = visit_url("familiar.php?action=guideme&pwd=" + roe_password);
  27.  
  28. visit_url("choice.php?pwd=" + roe_password + "&whichchoice=1396&option=1&cat=fish");
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement