Even after the update, games like Kavra’s Kingdom, Los Angeles Airlines, etc… still manage to automatically promote people from their groups?
How do they do it? Because of the cookie update that roblox did I am now unable to use my noblox.js system on glitch, is there any other way than proxy tuneling (paid)?
Thank you.
2 Likes
You’ll want to make a list of group rank numbers to rank, and then find the rank number of the user in a group and give them the rank according to that. You’ll want to use :GetRankInGroup
Function that Roblox has made. You’ll need to do the following for it to work: (Player Getting Rank Of):GetRankInGroup(GroupID)
- Will Return A Number From 0 - 255. Hope this has helped you with whatever you are doing.
NaweRBLX
(Ewanerd)
August 4, 2022, 6:47pm
#3
I’d say its unlikely you’ll be able to find a free solution as you’ll require an out of Roblox system to be online 24/7 to allow for an auto-rank system within a group. Possibly if Roblox has only banned glitch hosted domains from accessing Roblox accounts, then another hosting system could work. As far as I’m aware, the ip cookie is locked to a region so if you could create the account in that region then have a bot within said region, it may work.
I’m not familiar with the system but below are some links which may help with working around the updated security features. Best of luck.
Reproduction Steps
Login to a Roblox account
Turn on a VPN / use the cookie on a different IP
Refresh the page
Device Info
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36
Platform Type: PC
Device Type: Computer
Expected Behavior
I expect the cookie to be valid, even if my IP changes. I should not be logged out just because I turned on a VPN. My cookie should also not randomly expire 2 years later.
…
opened 11:55PM - 12 Mar 22 UTC
wontfix
guide
# Retrieving a .ROBLOSECURITY cookie on a headless VPS:
> :warning: You must … have a **static IP** on a dedicated VPS that you can SSH into; <ins>free hosts like Repl.it and Glitch **are not compatible.**</ins>
[Adapted from a DigitalOcean tutorial.](https://www.digitalocean.com/community/tutorials/how-to-route-web-traffic-securely-without-a-vpn-using-a-socks-tunnel)
---
As of March 8th, 2022, Roblox began rolling out a mandatory security feature that locks an account's `.ROBLOSECURITY` cookie to an IP region. Learn more here: https://devforum.roblox.com/t/ip-changes-invalidate-cookie/1700515
To bypass this, you must create the token from your VPS; the easiest way of which is through an SSH tunnel. When using this solution, the VPS must be the **only IP** accessing the account. Relogging without the proxy, or using a free coding workspace like Repl.it, Glitch, or Heroku, that assign dynamic IPs **will not work.**
---
**Step 0)** Make sure you are signed out of the target account, and have SSH access to your VPS.
**Step 1)** Connect to your VPS over SSH:
```console
ssh your_user@your_server_ip
```
**Step 2)** Whitelist a port in your firewall (any value between 1024 and 65535), we will use `1234`:
```console
sudo ufw allow 1234
```
> [If you have never set up a firewall, I strongly recommend reading this article to harden your server](https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-20-04); make sure to allow your SSH port too!
**Step 3)** Disconnect and start an SSH tunnel on the whitelisted port:
```console
ssh -D 1234 your_user@your_server_ip
```
> Make sure you are running this command from your local computer **and not inside the VPS.**
> __**Do not close this connection until you are done with all steps and have closed your proxied browser.**__
You will be prompted for a password, and then there will be no sign for success for failure, **this is expected**.
**Step 4)** From a <ins>new terminal instance on your local computer</ins>, connect your web browser to the proxy in incognito, and log in:
> It is assumed you are running Windows on your local computer. These commands should be run outside of WSL, either use Git Bash or cmd. It may help to close all other instances of your browser before running this command, and go to https://whatsmyip.com/ to ensure you are operating through your VPS's IP address.
**Google Chrome:**
```
start chrome --incognito --proxy-server="socks5://localhost:1234" https://www.roblox.com/login
```
**Microsoft Edge:**
```
start msedge --inprivate --proxy-server="socks5://localhost:1234" https://www.roblox.com/login
```
[**Mozilla Firefox**](https://www.digitalocean.com/community/tutorials/how-to-route-web-traffic-securely-without-a-vpn-using-a-socks-tunnel#step-2-mdash-configuring-firefox-to-use-the-tunnel) (Less recommended; must be manually configured.)
**Step 5)** [Retrieve your cookie as normal](https://noblox.js.org/tutorial-Authentication.html); this is nothing new.
**Step 6)** Copy the cookie to your VPS, write to a `.env` file, etc, your pick.
**Step 7)** Close the incognito proxied window; **do not** press log out.
**Step 8)** [Clean-Up]: Remove the whitelisted port from your firewall rules:
```console
sudo ufw delete allow 1234
```
**Step 9)** You may now close the SSH tunnel by closing your terminal; you are done- as far as Roblox can tell, you logged in from your VPS's IP.
---
> :warning: From now on, you **MUST** be connected through the SSH Tunnel to access the Roblox account. Failing to do so will violate the IP check and invalidate your cookie.