Advertisement
XenoTheStrange

Lulu.com upvote comment script, auto helpful rating spam[Bash, Curl]

Jun 25th, 2022 (edited)
1,085
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. #CHANGE THIS NUMBER TO THE ID OF YOUR REVIEW: "reviewId":"722856"
  4. while true
  5. do
  6. curl 'https://api.lulu.com/graphql/' -s -X POST -H 'Accept: */*' \
  7.     -H 'Accept-Language: en' \
  8.     -H 'Accept-Encoding: gzip, deflate, br' \
  9.     -H 'content-type: application/json' \
  10.     --data-raw '{"operationName":"markReviewAsHelpful",
  11.        "variables":{"reviewId":"722856"},
  12.        "query":"mutation markReviewAsHelpful($reviewId: ID!) {\n  markReviewAsHelpful(reviewId: $reviewId) {\n    id\n    helpfulReviewCount\n    __typename\n  }\n}\n"}' \
  13.         --output - | gzip -d -c | cut -c 68-74;
  14. done
  15. #if review is down the output will be null or not in gzip format in which case just take the tail off of the command
  16.  
Advertisement
RAW Paste Data Copied
Advertisement