Discord-Token-Grabber icon indicating copy to clipboard operation
Discord-Token-Grabber copied to clipboard

Question

Open Cyrotix opened this issue 3 years ago • 4 comments

I dont understand the 2nd and 3rd steps. Can someone help me explain?

Cyrotix avatar Mar 17 '21 10:03 Cyrotix

Yeah still not working unfortunately..

Cyrotix avatar Mar 23 '21 10:03 Cyrotix

is it working or no?

ovhrat avatar Apr 01 '21 02:04 ovhrat

You can skip the 3rd step by doing:

Create a discord webhook, then go to token-grabber.py and change WEBHOOK HERE in the 8th line to the webhook URL (REMEMBER TO KEEP THE '' INTACT). Now make the victim run token-grabber.py and once they run, the passwords which would have been grabbed would be sent in the discord channel where the webhook was created

Now if you skip the 3rd step, the victim would require to have python installed on their computer. Now what "obfuscating" a code means is that you can either make the code unreadable, or not have the user need dependencies. What you CAN (again, you don't NEED to do it if the victim has python installed on their computer) is convert the .py file to .exe using the pyinstaller module

msr8 avatar Apr 16 '21 14:04 msr8

You can skip the 3rd step by doing:

Create a discord webhook, then go to token-grabber.py and change WEBHOOK HERE in the 8th line to the webhook URL (REMEMBER TO KEEP THE '' INTACT). Now make the victim run token-grabber.py and once they run, the passwords which would have been grabbed would be sent in the discord channel where the webhook was created

Now if you skip the 3rd step, the victim would require to have python installed on their computer. Now what "obfuscating" a code means is that you can either make the code unreadable, or not have the user need dependencies. What you CAN (again, you don't NEED to do it if the victim has python installed on their computer) is convert the .py file to .exe using the pyinstaller module

Since you didn't include in-depth explanation on exactly how to do so, I'll do it for you.

Step 1: Add Python to Windows Path An easy way to add Python to the path is by downloading a recent version of Python, and then checking the box to ‘Add Python to PATH’ during the installation:

image

Step 2: Open the Windows Command Prompt image

Step 3: Install the Pyinstaller Package In the Windows Command Prompt, type the following command to install the pyinstaller package (and then press Enter):

pip install pyinstaller

This is how the command would look like: image

Step 4: Save your Python Script Now you’ll need to save your Python script at your desired location.

Step 5: Create the Executable using Pyinstaller Now you’ll be able to create the executable from the Python script using pyinstaller. Simply go to the Command Prompt, and then type: cd followed by the location where your Python script is stored, then hit enter.

Next, use the following template to create the executable:

pyinstaller --onefile pythonScriptName.py (replace pythonScriptName with what the script you are trying to convert is named) Once you’re done, press Enter for the last time.

Step 6: Run the Executable Your executable should now get created at the location that you specified.

Once you click on the file, you should be able to launch your program (if you get an error message, you may need to install Visual C++ Redistributable).

QuoWasTaken avatar Apr 16 '21 14:04 QuoWasTaken