Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| /** | |
| * utils module - provides various utility functions used by the application | |
| * @module utils | |
| */ | |
| /** | |
| * A function to sort an array of indices by a given property | |
| * put simply: this lets you sort an array of json objects by | |
| * whatever property you tell it to use. | |
| * Example: `var teams = data.teams.sort(utils.GetSortOrder("name"))` |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Now official at https://info.defcon.org/#streams :)
| #!/usr/bin/env python3 | |
| # ================================================= | |
| # stupid script to dump kik profile data without a login or bot API key | |
| # example command: `kiksnarf.py Kikteam` | |
| # example output: | |
| # fetching profile from: https://ws2.kik.com/user/Kikteam | |
| # Name: Kik Team | |
| # Display Pic URL: http://profilepics.cf.kik.com/9wG3zRZW8sLxLnpmyOfwNE7ChYk/orig.jpg | |
| # Display Pic Last Updated: 2018-07-12T18:00:02Z | |
| # ================================================= |
| worlds["default"] = "/tmp/server/world/" | |
| worlds["nether"] = "/tmp/server/world_nether/" | |
| renders["default_day"] = { | |
| "world": "default", | |
| "title": "Default Day", | |
| "rendermode": smooth_lighting, | |
| "dimension": "overworld", | |
| } |
| /* | |
| // JSON export of TOTP keys from Authy | |
| // based on the scripts and comments at <https://gist.github.com/gboudreau/94bb0c11a6209c82418d01a59d958c93> | |
| // Last tested: 2019-03-19 | |
| // ----------------------------------------------------------- | |
| // Tested on: | |
| // - Chrome version 72.0.3626.121 (Official Build) (64-bit) | |
| // - Authy version 2.6.0 | |
| // ----------------------------------------------------------- | |
| // Directions: |
| #!/usr/bin/perl | |
| use strict; | |
| my @chars=( | |
| "\x0a","\x0a","\x3d","\x78", | |
| "\x3d","\x20","\x0a","\x6f", | |
| "\x20","\x2e","\x20","\x0a", | |
| "\x5e","\x5f","\x5f","\x5f", | |
| "\x5e","\x0a","\x0a","\x79", |
I hereby claim:
To claim this, I am signing this object: