Skip to content

Commit

Permalink
Switched old files to a new branch
Browse files Browse the repository at this point in the history
  • Loading branch information
idiidk committed Mar 21, 2018
0 parents commit 4d870af
Show file tree
Hide file tree
Showing 17 changed files with 5,254 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

reversed.js
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017 idiidk

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
81 changes: 81 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Kahoot Tools
> Scaring teachers since Sep 27, 2017!
A suite of tools for fucking with Kahoot games. Easily installable and customizable.

## Installation

OS X, Linux and Windows:

```sh
git clone https://github.com/idiidk/kahoot-tools.git
cd kahoot-tools
yarn install
node main.js
```

## Usage

Kahoot tools runs a webserver on port 8080 and a cors server on port 3000. To use kahoot-tools, just start the servers by running main.js with node, open a browser and go to localhost:8080.

## Release History
* 0.3.1
* Custom servers are documented in the server folder
* Code refactoring
* Created server folder and scripts
* 0.3.0
* Custom Servers (coming very soon)
* Major redesign!
* Cleaned up some very nasty code
* 0.2.4
* Found new 2FA bypass!
* 0.2.3
* Fixed 2fa screen
* Fixed connection code when 2fa active
* Fixed animation lag when crossfading pages
* 0.2.2
* Fixed some more bugs
* Streamlined code style
* Finalized v4 api
* 0.2.0
* Rewrote whole connection code
* Added option to answer current question correctly
* Fixed connections not working on some school networks
* 0.1.8
* Added 2FA support
* Added crash option
* Added bot support
* Before 0.1.8
* Bug fixes
* Initial release

## Goals

### Version 4.0
- [ ] Fully implement custom servers.
* [ ] Make a server API for building servers.
* [ ] Make a spot for custom server file hosting.

### Version 3.0 (Done)
- [x] Use general code style.
* [x] Do not use id`s in css.
* [x] Use same kind of parenthesis.

- [x] Maybe create some new cracks.
* [x] 2FA bypassing is once again active!

## Meta

idiidk – [@idiidka](https://twitter.com/idiidka)

Distributed under the MIT license. See ``LICENSE`` for more information.

[https://github.com/idiidk](https://github.com/idiidk/)

## Contributing

1. Fork it (<https://github.com/idiidk/kahoot-tools/fork>)
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request
20 changes: 20 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const express = require("express");
const path = require("path");
const corsAnywhere = require("cors-anywhere");
const app = express();

const webPort = 8080;
const corsPort = 3000;

app.use(express.static(path.join(__dirname, "public")))

var server = app.listen(webPort, function () {
console.log("Listening on " + webPort);
});

corsAnywhere.createServer({
originWhitelist: [],
requireHeader: ["origin", "x-requested-with"]
}).listen(corsPort, function () {
console.log("CORS server listening on " + corsPort);
});
27 changes: 27 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "kahoot-tools",
"version": "0.3.1",
"description": "A set of tools for manipulating kahoot in fun ways.",
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/idiidk/kahoot-tools.git"
},
"keywords": [
"kahoot",
"tools"
],
"author": "idiidk",
"license": "MIT",
"bugs": {
"url": "https://github.com/idiidk/kahoot-tools/issues"
},
"homepage": "https://github.com/idiidk/kahoot-tools#readme",
"dependencies": {
"cors-anywhere": "^0.4.0",
"express": "^4.15.5"
}
}
Loading

0 comments on commit 4d870af

Please sign in to comment.