parotic0 / NSTool

A twitter link opener written in python, includes discord joiner/link unshortener
GNU General Public License v3.0
6 stars 3 forks source link

WARNING #3

Closed adamsky-01 closed 3 years ago

adamsky-01 commented 3 years ago

...and what this nice string is doing in your code: https://discordapp.com/api/v6/users/@me/billing/payment-sources

parotic0 commented 3 years ago

the other guy working on the project added that as a way to check if the discord was authenticated, You can look at the code. we just send a request and check if it's valid we dont collect any information, store it, or even see anything. we dont interact with the information on the page. also as you can see our code doesn't interact with any other online services other than twitter/discord.

adamsky-01 commented 3 years ago

It's parts of NitroHack malware

parotic0 commented 3 years ago

its not, please know what your talking about before you start throwing accusations. i will explain literally everything the code does

headers are set and auth token are set

** a GET request is sent to the URL with headers with nothing being stored response = requests.get('https://discordapp.com/api/v6/users/@me/billing/payment-sources', headers=headers)

** response.ok checks if the request went through without any problems, return either says true or false depending on if the request was valid return response.ok

please don't accuse me of stuff like this, i just want to share something cool i made.

ghost commented 3 years ago

It's parts of NitroHack malware

What are you even on about? You have the entire source of the project; if you don't trust something manually verify the code? It's not that hard. It's not networked to anything but the Discord server.

Start reading.