Skip to content

JacksonElia/DCS_Terminal

Repository files navigation

DCSTerminal-Banner


This program will automatically finish a datacamp course in minutes using a hacker-esque terminal! It has a few important commands and settings to know about, so either watch this video, or continue reading this readme. This is a video of the terminal solving a full course.

How to use it

Go to Releases and download the latest release's installer (should be an exe.) Once downloaded, run the installer and if a popup appears saying "Windows protected your PC", click more info then Run anyway. Click next on the installer (making a desktop shortcut is recommended) then click install and finish.

If everything worked properly, when you launch the application chrome should launch and you should see this window:

image

Follow these steps to solve a Datacamp course

  1. Open a browser and log into Datacamp, then find the course you want to be solved and open the course so that you are at one of the problems/exercises. Now, copy the link of that page, it should look something like https://campus.datacamp.com/courses/supervised-learning-with-scikit-learn/classification?ex=1 (if it has ex= a number, you've got the right link)
  2. Next, launch DCS Terminal and once you see image, type: setcreds YourDatacampEmail@email.com YourDatacampPassword and press enter. This will store your login information, so next time you want to use the terminal, you won't have to enter it again.
  3. Type login and wait for the chrome tab to be fully logged into Datacamp. If the login fails, try running the command again.
  4. If you want there to be a delay in between exercise solving, type setwait SecondsToWait (e.g. for 5 minutes of waiting, do setwait 300). This will be saved, so if you want to get rid of the wait you have to set it to 0 seconds
  5. Finally, with the link you copied earlier, type: solvecourse TheLinkYouCopied. If you want the program to redo a course to get you XP from it again, type: solvecourse TheLinkYouCopied --autoreset. If you want to set a delay, or wait time in between the solving of each exercise, see Extra terminal commands below
  6. Sit back and relax! You can have the terminal and the chrome tab minimized and continue to use your computer, try not to use copy and paste too much while it is running as the terminal copies the answers, then pastes them into Datacamp.

If you did everything right, your terminal should look like this and the course should be getting solved. unknown

Extra terminal commands

  • modify ValueToChange NewValue will let you change any of the program's stored values. This is especially useful for setting the wait time of the program. This sets the delay in between exercises to 10 seconds. image

  • exit will safely shut down the chrome tab and the program. This is recommended but not necessary.

  • clear will clear the terminal, you can use this to clear the terminal after you have entered in your password.

  • info shows basic info about DCS Terminal like version number

  • checkcreds will show you the current login information.

  • help NameOfCommand shows a little bit of information about a command.

Important to Know

  • This program is only tested for and made for Windows
  • This program will not work for courses on spreadsheets
  • If it crashes as soon as you open it or you get an error that says something about chromedriver and or its version, make sure you have chrome updated
  • If you see an error message like the following when you first start the program, just press enter a few times and everything should still work
  • When you open the program for the first time, make sure you are connected ot the internet or it will crash image

Motivation

We are both very passionate about programming and learning new things, but we shared a hatred of datacamp. When we found out that all of the answers to the exercises were in the page's source code, we new we had to exploit such an obvious vulnerability. Its about the principle! Not about cheating on Datacamp! We made this in order to learn more about websites, Selenium, and the Terminal.

Extra Bugs in Datacamp

Datacamp has a lot of exploits, here are some of the biggest ones:

  • For a normal exercise, if you click Take Hint then Show Answer you can copy the answer, refresh the page, and lose no XP
  • For an exercise with multiple parts, if you disconnect your computer from the internet, you can get all of the answers through Take Hint then Show Answer, refresh the page, turn your internet back on, and lose no XP
  • For any exercise, if you right click the page and click View Page Source, you can find all of the module's questions and answers through ctrl + f
  • For any exercise, if you right click the page and click Inspect Element, click Network in the opened window, filter to Fetch/XHR then click Take Hint then Show Answer. Now, in the window Inspect Element opened up, under Name you should see get_solution. Click on that and voila! You now can see the API to get any answer on Datacamp. (https://campus-api.datacamp.com/api/exercises/1133452/get_solution, change 1133452 to your current exercise ID)

Frameworks, Tools, and Libraries used

Credit

Terminal/GUI by iBrushC

Autosolving of the courses by me

MIT © 2023 Jackson Elia & iBrushC