This tutorial will walk you through the steps needed to get root
SSH
access on an Engenius EAP600 dual-band WiFi access point. SSH doesn't
come enabled out of the box on these things, so if you want to SSH into the
device (which is running an old version of OpenWRT), keep reading.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There used to be something that resembled an Elligator2 implementation here ported from agl's | |
Go code. The implementation is unmaintained and has severe issues (as pointed out in a comment), | |
and should not be used for anything. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# set -eux | |
# This a simple script that builds static versions of Python and LibPython using musl-libc | |
# Find the associated article at: http://general-purpose.io/2015/12/06/compiling-python-and-libpython-statically-using-musl-libc/ | |
WORKING_DIR="/code/static-python" | |
MUSL_PREFIX="/code/static-python/musl" | |
PY_PREFIX="/code/static-python/python" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"OP_DUP OP_HASH160 20 OP_EQUALVERIFY OP_CHECKSIG": 319721182, | |
"OP_HASH160 20 OP_EQUAL": 10083919, | |
"65 OP_CHECKSIG": 887766, | |
"OP_RETURN": 288521, | |
"OP_1 33 33 33 OP_3 OP_CHECKMULTISIG": 224438, | |
"": 219175, | |
"OP_1 33 33 OP_2 OP_CHECKMULTISIG": 206415, | |
"33 OP_CHECKSIG": 101306, | |
"OP_RETURN 40": 65287, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
### | |
### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
### https://christitus.com/windows-tool/ | |
### https://github.com/ChrisTitusTech/winutil | |
### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
### iwr -useb https://christitus.com/win | iex | |
### | |
### OR take a look at | |
### https://github.com/HotCakeX/Harden-Windows-Security |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/drivers/net/wireless/ath/regd.c | |
+++ b/drivers/net/wireless/ath/regd.c | |
@@ -341,6 +341,10 @@ ath_reg_apply_beaconing_flags(struct wip | |
struct ieee80211_channel *ch; | |
unsigned int i; | |
+#ifdef CONFIG_ATH_USER_REGD | |
+ return; | |
+#endif | |
+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.XCompose | |
### Based on the en_US.UTF locale. ### | |
include "/usr/share/X11/locale/en_US.UTF-8/Compose" | |
### Populated with Kragen's additions. ### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var supportsES6 = function() { | |
try { | |
new Function("(a = 0) => a"); | |
return true; | |
} | |
catch (err) { | |
return false; | |
} | |
}(); |
My ISP (Time Warner Cable) hands out IPv6 addresses with DHCPv6;
it will delegate a /56 if asked. So long as I keep refreshing the lease,
it won't renumber me. I have my cable modem set to bridge, and do all the
firewalling, NATing, etc., on a Debian box.
In what follows, eth0
is the internal interface.
The dhclient that ships with debian/ubuntu does not support asking for a prefix delegation, so I had to build one from sources.
- Get the ISC dhcp source.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function atob(a) { | |
return new Buffer(a, 'base64').toString('binary'); | |
}; |