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
[ | |
{ | |
"switchMount": "cherry", | |
"switchBrand": "gateron", | |
"switchType": "KS-3-Tea", | |
"pcb": true | |
}, | |
[ | |
"Esc", | |
"!\n1", |
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
[ | |
[ | |
"Esc", | |
"!\n1", | |
"@\n2", | |
"#\n3", | |
"$\n4", | |
"%\n5", | |
"^\n6", | |
"&\n7", |
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
[ | |
[ | |
"Esc", | |
"!\n1", | |
"@\n2", | |
"#\n3", | |
"$\n4", | |
"%\n5", | |
"^\n6", | |
"&\n7", |
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
[ | |
[ | |
"Esc", | |
"!\n1", | |
"@\n2", | |
"#\n3", | |
"$\n4", | |
"%\n5", | |
"^\n6", | |
"&\n7", |
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
#!/usr/bin/perl | |
# | |
# Perl - low level AES 256 crypt/decrypt using Crypt::Rijndael | |
# compatible with 'openssl enc' format | |
# | |
# Key: 32 | |
# IV : 16 | |
# | |
# Padding: PKCS7 | |
# EVP_BytesToKey: SHA256 |
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
#!python | |
"""OpenSSL enc compatible script by Python. | |
""" | |
""" Based on: | |
https://gist.github.com/chrono-meter/d122cbefc6f6248a0af554995f072460 | |
Added: base64 | |
Need: python3-crypto | |
# Encrypt | |
python3 ./aes256-compat-openssl-enc-dec.py -in <filein> -e -salt -aes-256-cbc |
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
/* | |
* AES 256 crypt/decrypt compatible with 'openssl enc' format | |
* Depends on sjcl for SHA256: https://bitwiseshiftleft.github.io/sjcl/ | |
* | |
* Usage: | |
<script type="text/javascript" src="sjcl.js"></script> | |
<script type="text/javascript" src="this_file.js"></script> | |
* | |
* Author: Zorro Aka Diego de la Vega | |
* |
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
<?php | |
# PHP - low level AES 256 crypt/decrypt using openssl | |
# compatible with 'openssl enc' format | |
# | |
# Key: 32 | |
# IV : 16 | |
# | |
# Padding: PKCS7 (operated by openssl) | |
# EVP_BytesToKey: SHA256 |
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
--- redis/src/anet.c 2021-06-01 16:03:36.000000000 +0200 | |
+++ redis.mod/src/anet.c 2021-06-10 15:32:14.280101531 +0200 | |
@@ -519,6 +519,43 @@ int anetTcpAccept(char *err, int s, char | |
struct sockaddr_in *s = (struct sockaddr_in *)&sa; | |
if (ip) inet_ntop(AF_INET,(void*)&(s->sin_addr),ip,ip_len); | |
if (port) *port = ntohs(s->sin_port); | |
+ /* EULERIAN */ | |
+ { | |
+ struct sockaddr_storage sa; | |
+ socklen_t salen = sizeof(sa); |