Uber Drivers Forum banner
Status
Not open for further replies.
81 - 100 of 1,299 Posts
Discussion starter · #81 · (Edited)
Appreciate you sharing what you did.
With some little testing and digging and Linux knowledge I've got it working. Think I even have it working to grab specific times. I can also say your code does work for android you just have to read the proxy output to get the device user agent to match
That's great. If you want, feel free to fill in some of the missing pieces / refinements for people here.
 
I already finished the code all the commands are working on the command prompt but when i execute it creates getlast.1 but doesnot create getlast.prefix and getlast.suffix. I would appreciate if u can guide me with it not creating those two files my thing is pulling the blocks but not catching coz of those to files i guess
 
Discussion starter · #86 · (Edited)
I already finished the code all the commands are working on the command prompt but when i execute it creates getlast.1 but doesnot create getlast.prefix and getlast.suffix. I would appreciate if u can guide me with it not creating those two files my thing is pulling the blocks but not catching coz of those to files i guess
That part of the code is now obsolete. See new instructions and full code downloads.
 
I have a simple click and install app that gets me 40 hours every week and didn't have to do any of this. It's been said many times, amazon only cares that there packages get delivered. If you have a auto grabber and get blocks not an issue. It's after you grab blocks that matters. Do you show up every time and do a great job is what I think they are about the most. And not getting sued of course
 
It's a custom app not all the crazy other apps you can get online. Built by a developer
Did I already ask you how much? I tried to look back in this thread as I recall us discussing but don't recall the discussion! :p

My emulator setup works but i'll be lucky to catch a couple blocks a week with it. Right now, I need to make up some hours and want to get better morning routes. The ****ing afternoon routes at DMI2 are freakin' brutal! Had a little blow out with the blue vest today.....oh well, refused some packages and had a mess of a route. Too bad for him.....
 
Did I already ask you how much? I tried to look back in this thread as I recall us discussing but don't recall the discussion! :p

My emulator setup works but i'll be lucky to catch a couple blocks a week with it. Right now, I need to make up some hours and want to get better morning routes. The &%$@!*ing afternoon routes at DMI2 are freakin' brutal! Had a little blow out with the blue vest today.....oh well, refused some packages and had a mess of a route. Too bad for him.....
Your in the toughest spot over there because they are actually hacking the system. I have seen a system called "amazon god" and another that uses software to physically tap and accept blocks faster then the human eye. So it's software and hardware setup. This is the person selling blocks. Quite a thing to see and simply amazing. Carmen, just inbox me and I will try and help you out with no cost. I think people are thinking just a simple hack is good enough but you can beat other hackers by having the fastest processor and excellerating your phone in developer mode etc. no rooting needed. If you root your phone and Amazon finds out your in trouble. You see if your phone is rooted then you can fake gps locations and that's why rooting your phone raises red flags
 
Your in the toughest spot over there because they are actually hacking the system. I have seen a system called "amazon god" and another that uses software to physically tap and accept blocks faster then the human eye. So it's software and hardware setup. This is the person selling blocks. Quite a thing to see and simply amazing. Carmen, just inbox me and I will try and help you out with no cost. I think people are thinking just a simple hack is good enough but you can beat other hackers by having the fastest processor and excellerating your phone in developer mode etc. no rooting needed. If you root your phone and Amazon finds out your in trouble. You see if your phone is rooted then you can fake gps locations and that's why rooting your phone raises red flags
Ok, pm sent. Just want to make sure you notice my gender symbol!? Sometimes guys offer help because they think i'm a chick! :p The name throws them off. I can send you a hot picture if it helps!!?? hahahahahahaha.....

Yeh, I think it's confirmed that blocks are somehow being intercepted and sold, as that is most of the discussion in the parking lot waiting for blocks to start at DMI2. I actually was digging around and found some interesting things about "broadcast theft", which is what has been discussed in these forums, I think uberpasco described it. Basically the hackers can intercept broadcasts, which is what blocks are and do as they wish with them, which is assign them to paying customers.

And now a new hustle.....people offering to sell blocks are now just getting your credit card info, your flex account info and stealing your money and your account! No blocks to sell.

I rooted my backup phone, if you don't cloak root it just says you have to unroot to run flex app. I tested both root and unrooted. Then I installed root cloak and app loaded fine.

OK, OK....after several requests the text about you know what and you know who was removed..........hahahahahahahaah........
 
lol don't give them any ideas -- I know they monitor this forum!

imo, I don't think they care enough as long as you aren't messing with the app .. blocks are getting taken & worked. FREP is the only reason why i'm still able to do this full time.
If they haven't figure it out yet they ain't never gonna' figure it out! :)
Or like you said......they don't really care. Let's face it, they would be punishing drivers for using a tool simply because it's the only possible way to get blocks at some locations. Which would be complete bullshit!

The other locations have plentiful blocks and don't have to deal with it.
 
Discussion starter · #94 · (Edited)
Working through the next steps and simplifying a little bit. For now, I edited some previous posts to clarify some things and possible problems.

Changes to previous posts now edited:

a) Make sure to set your time zone:
dpkg-reconfigure tzdata

b) If you get an error about user not allowed to use incron, edit the file /etc/incron.allow and put the username that will be running the script in there

c) You may want to change the default port from 8080 to something else to avoid people using your proxy server. If so change it by adding a -p xxxxx (whatever the new port is) to the mitm dump command in the doit.bat file. You will also need to change it elsewhere in these instructions instead of using 8080. Make sure any firewalls have this port open.
 
Your in the toughest spot over there because they are actually hacking the system. I have seen a system called "amazon god" and another that uses software to physically tap and accept blocks faster then the human eye. So it's software and hardware setup. This is the person selling blocks. Quite a thing to see and simply amazing. Carmen, just inbox me and I will try and help you out with no cost. I think people are thinking just a simple hack is good enough but you can beat other hackers by having the fastest processor and excellerating your phone in developer mode etc. no rooting needed. If you root your phone and Amazon finds out your in trouble. You see if your phone is rooted then you can fake gps locations and that's why rooting your phone raises red flags
Amazon God is a scam..don't even mention it.
 
Working through the next steps and simplifying a little bit. For now, I edited some previous posts to clarify some things and possible problems.

Changes to previous posts now edited:

a) Make sure to set your time zone:
dpkg-reconfigure tzdata

b) If you get an error about user not allowed to use incron, edit the file /etc/incron.allow and put the username that will be running the script in there

c) You may want to change the default port from 8080 to something else to avoid people using your proxy server. If so change it by adding a -p xxxxx (whatever the new port is) to the mitm dump command in the doit.bat file. You will also need to change it elsewhere in these instructions instead of using 8080. Make sure any firewalls have this port open.
Could you possible show your incron.table set up? I assume that you run the main.bat (the one that runs the while do loop) on IN_MODIFY(*) on the /home/script/amazon/source/ folder/specific files, as it would re-trigger the grabber the moment the new data is put into any of the files. (i personally only store the session information in there, so it works with IN_MODIFY(*), and am interested to see what approach have you taken).

And of course, a huge thank you for providing the detailed instructions! I did not expect it to be so much fun at the same time as being this useful!
 
Discussion starter · #97 · (Edited)
Step 5 - Select Your Warehouse

The following three steps only need to be done once. They will specify which warehouse to check and grab blocks from.

a) On your VPS, install the data parser which will be needed later to actually grab blocks:
apt install jq

b) Get your warehouse ID
Before grabbing, first you must get your warehouse ID.

It should be listed in this post:

https://uberpeople.net/threads/make...our-own-fast-amazon-flex-block-grabber-step-by-step.188718/page-10#post-2983664

If so, you can skip down to step c. Be sure to use the id (not your warehouse code such as UBA1 or whatever).

Or you can get it from the output of the proxy file which you tested earlier as follows:

Look in the proxy.out file (using vi for example):
vi /home/proxy/proxy.out

Search for:
serviceAreas

You should see the 3 letter + 1 digital warehouse code after that (UBA1 in this example). That is NOT the id. Look just before it / to the left, you will see a long string id code like this:

"serviceAreas":[{"attributes":null,"boundary":null,"id":"xxxxx-xxxx-xxx-xx-xxxxx","name":"Wherever (UBA1)","onboardingEnabled"

Copy the long code between where it says id and your warehouse code, but not the quotes.

In this example you would just copy this (not the quotes):
xxxxx-xxxx-xxx-xx-xxxxx

c) Now update the location.txt file with the warehouse ID you just copied above.
The file location is:
/home/scripts/amazon/source/location.txt

Remove all the text in there already that says:
*put your location id here* (also remove the *'s)

Replace it with your id, in this example:
xxxxx-xxxx-xxx-xx-xxxxx

Make sure there are no extra spaces (beginning or end) or extra lines in this file.
 
Discussion starter · #98 · (Edited)
Step 6 - Start Grabbing

Before grabbing, be sure you are very close to the warehouse. This program will start grabbing anything that is offered even if it starts in one minute. So be ready.

***WARNING: ESPECIALLY FOR ANDROID - The Android Flex app may not show grabbed blocks for up to 30 minutes or so unless you log out and log in. So it is important, especially on Android, to watch the script output, do notifications, and set delays so you have enough time to see the block it grabbed. Otherwise, you could miss showing up for a block you already grabbed unless you log out and log in every few minutes. The iPhone app seems to refresh much more quickly - usually in under a minute.

The program does not notify you if it grabs a block. There is a notification script included - see the later instruction step on how to get it to work.

a) On your VPS, start your proxy server as discussed in an earlier step:

Code:
cd /home/proxy
./doit.bat
b) Make sure your phone (iPhone based instructions for now) is on wifi and using your VPS and port as a proxy server (see previous instruction on this).

c) Check for an offer manually on your phone (this updates the access tokens on the VPS).

d) Now, start grabbing.
This is the real thing and will start grabbing blocks.
Do this on the VPS:
Code:
cd /home/scripts/amazon/source/
./checkall1.bat
It will continue to run until your token runs out (about 15-30 minutes). If you check for an offer manually again before it stops, it should extend the time and keep running even longer.

Once it stops, you will need to repeat steps c & d above to start it again.

To stop it from grabbing, go to your VPS and type:
Code:
cd /home/scripts/amazon/source/
./stopall.bat
To check to see if it's running:
Code:
cd /home/scripts/amazon/1/
tailf output.txt
If it's running, you'll see a bunch of {"offerList":[]} {"offerList":[]}
that keep scrolling. If nothing is scrolling, then it's stopped.

Notes: As to how to do all this on the road, I use the Termius app which allows ssh and running commands on a phone. Another possibility is if you have someone at home you can show all this to, you could work as a team where one grabs blocks on the VPS and coordinates with you. Running the Flex app can be done separately from the VPS.

Good luck. I hope this helps.

Advanced:

Changing Warehouses:
You may be able to simply change the warehouse id from the previous step in order to grab blocks from another warehouse. It also may be possible to change between logistics and prime now depending on what you set the id to - even if you didn't know that you could deliver from that warehouse. It has been tested doing so several times interchanging a prime now and logistics warehouse.

Running Two Grabbers instead of One:
I don't recommend doing this unless you need to, but you can run two of these at once. If you grab enough blocks with just one running, it is better to use fewer resources to do it. This program is cpu intensive.

If you want to run two grabbers at once, replace:
./checkall1.bat
with
./checkall2.bat
in step d. That will run two at a time instead of 1.
 
Discussion starter · #99 ·
I was using NOX on my Mac to get blocks decently... it even has built in root (but didnt work with flex app) so i used the built in NOX auto input

LOL i actually code a good amount and do flex on the side.

BUT JUST TO LET EVERYONE KNOW... THE CODES OP ARE NOT THE FULL CODES, LIKE OP SAID, HE DID IT FOR HIS SITUATION SO IT WILL TAKE SOME LINUX KNOWLEDGE TO FINISH THIS CODE AND GET IT FULL WORKING AS SCRIPT.

Also if anyone gets it to successfully pull tokens, what you can do is manually run the curl lines to figure stuff out... your warehouse ID(s) can be grabbed from the proxy.out file

I ended up using Vultr and what i did was configure a firewall with my home wifi IP and then i added all of my cell providers IP subnet in there also to only allow me to utilize the proxy. Vultr allowed pretty much instant setup but theres tons out there also.... one issue i had with vultr was i started getting traffic from china in my proxy while testing which is why i added the firewall rules
I have revamped the instructions and provided the full scripts needed in an easier implementation. Also, I do not recommend using port 8080 for the proxy except to do a quick test on setup. People regularly scan for this port to abuse it. Move it somewhere way up like in the 1x,xxx to 2x,xxx area. Firewalling it is also a good idea if you can figure out your IP's you will access it from. Also, turn off the proxy part when not in use.

Could you possible show your incron.table set up? I assume that you run the main.bat (the one that runs the while do loop) on IN_MODIFY(*) on the /home/script/amazon/source/ folder/specific files, as it would re-trigger the grabber the moment the new data is put into any of the files. (i personally only store the session information in there, so it works with IN_MODIFY(*), and am interested to see what approach have you taken).

And of course, a huge thank you for providing the detailed instructions! I did not expect it to be so much fun at the same time as being this useful!
You're welcome. The table setup is already documented in the earlier step. Also, please see revamped full scripts and updated instructions.
 
Discussion starter · #100 ·
For using this setup when not on wifi, you will need to use the proxy server with your cell data APN. On iphone for example, you can install a profile with a proxy server in it. Be sure you know your settings before and after. Also be able to remove it as needed when the proxy isn't running or for apps that won't work with the proxy.

If you use the wrong settings here you can stop your cell data from working so be careful. Also, some apps will not work on proxy (cell or wifi).
 
81 - 100 of 1,299 Posts
Status
Not open for further replies.
You have insufficient privileges to reply here.