Skip to content

Instantly share code, notes, and snippets.

Avatar

goldsolitude

View GitHub Profile
@jacksonrakena
jacksonrakena / Installing_MinGW_on_Windows.md
Last active March 17, 2023 22:28
Installing MinGW (GCC C++) and Geany, for ENGR 101 at VUW
View Installing_MinGW_on_Windows.md

Guide written by Jackson with help and pictures from Gold

This guide details how to install MinGW/clang, and ENGR 101's preferred code editor, Geany, on a Windows or macOS operating system. Linux users (who probably don't need any guide) should follow the guide on the ECS wiki.

If you've already got mingw/clang installed, skip to the bottom to install Geany.

Installing MinGW (or clang)

This guide details how to install MinGW, the GNU C/C++ compiler, on a Windows or macOS operating system (clang).

@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active March 29, 2023 12:28 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
View AuthyToOtherAuthenticator.md

Generating Authy passwords on other authenticators


There is an increasing count of applications which use Authy for two-factor authentication. However many users who aren't using Authy, have their own authenticator setup up already and do not wish to use two applications for generating passwords.

Since I use 1Password for all of my password storing/generating needs, I was looking for a solution to use Authy passwords on that. I couldn't find any completely working solutions, however I stumbled upon a gist by Brian Hartvigsen. His post had a neat code with it to generate QR codes for you to use on your favorite authenticator.

His method is to extract the secret keys using Authy's Google Chrome app via Developer Tools. If this was not possible, I guess people would be reverse engineering the Android app or something like that. But when I tried that code, nothing appeared on the screen. My guess is that Brian used the

View hacking-the-whitebox.md

Hacking the SamKnows Whitebox

The SamKnows Whitebox is a free router (TP-Link TL-WDR3600) provided by SamKnows to gather internet speed statistics. Ok that's great, but any person with a small amount of hacker's spirit will want to hack it to install some custom firmware to take advantage of the two gigantic antennas on the back, the USB ports and everything else.

Step 1 : Debug mode

Root access can be obtained via a "debug mode" on the router giving you a direct root shell via telnet, amazingly simple.

  • Disconnect the Whitebox from the internet.
  • Connect your computer directly to the Whitebox via Ethernet to one of the four ethernet ports on the Whitebox.
  • Configure your computer's IP settings to "Manual" setting the computer's IP address to 192.168.1.2, the Subnet Mask to 255.255.255.0 and the Gateway to 192.168.1.1.
  • Turn off the Whitebox.