Code Monkey home page Code Monkey logo

brute_force_quizzes's Introduction

Brute Force Quizzes (on Huskyct)

I wrote this in five hours and don't have the time to fix it, sorry.

Description

  • Logs in to huskyct
  • Gets urls for all available quizzes
  • Takes each quiz 20 times
    • We do this to ensure we get all feedback for all questions
    • Not robust but I wrote this for speed. There are at max five questions per test
    • Odds that we do not get all five questions (2 per try) after 20 times is very low.
  • Each time it takes the quiz, it records feedback for every answer to a file called /tmp/quizzes.json
  • The last time it takes the quiz, it makes sure to pick the correct answers

Installation

NOTE: (Probably) must be on a linux machine If you change the class attribute for quiz path you could (prob?) run it on windows But this is untested

sudo apt-get update
sudo apt-get upgrade
sudo apt-get google-chrome-stable
sudo apt-get install pandoc texlive-latex-base texlive-fonts-recommended texlive-extra-utils texlive-latex-extra

NOTE: if you do not have google chrome installed, google: How to install google chrome linux Then follow the cmd line args for installing chrome.

git clone [email protected]:jfuruness/brute_force_quizzes.git
cd brute_force_quizzes
sudo python3 setup.py develop

NOTE: if you are getting chromedriver errors, that means the chromedriver automatic install script has failed. Please contact [email protected]

Usage

lib_brute_force_quizzes --brute_force --username myusernamehere --password mypasswordhere

You can find output pdf files in /tmp

Developer notes:

  • My gf wanted this to get feedback for every answer to study. It should be VERY easy to modify this program to only take each quiz enough times to get it correct.
  • Also, you can prob skip all quizzes you have already taken in the for loop very easily
  • I'm not going to make these changes because of time constraints on my end. Enjoy!

brute_force_quizzes's People

Contributors

jfuruness avatar cgorbenko avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.