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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Runtime.Remoting.Proxies; | |
using System.Drawing; | |
using System.Runtime.Remoting.Messaging; | |
using System.Runtime.Remoting; | |
using System.ComponentModel; |
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
/obj | |
/bin | |
*.suo | |
*.user |
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
В этой директории лежит delegate (универсальный прокси-сервер и сервер | |
контекта) для Windows. Остальные версии можно найти на сайте. | |
Вот примерный список функций: | |
* входящие (т.е. с вашего компьютера) соединение по протоколам | |
HTTP, HTTPS, "HTTPS-tunnel", FTP, NNTP, Telnet, SOCKS и др. | |
* исходящие соеднинения (т.е. к настоящим серверам) по тем же | |
протоколам, причём, например, можно FTP (на входе) пустить | |
через SOCKS-прокси (или через HTTPS-прокси) | |
* кэширование запросов (с управляемыми параметрами) |
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
#!/bin/bash | |
export PIDFILE="/var/run/obfsproxy.pid" | |
export PASS="P@ssw0rd" | |
export DEST="127.0.0.1:22" | |
export SERVER="xx.xx.xx.xx:2222" | |
export DAEMON="obfsproxy --log-min-severity=info obfs2 --shared-secret=${PASS} --dest=${DEST} server ${SERVER}" | |
### BEGIN INIT INFO |
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 php | |
<?php | |
$socket = stream_socket_server( | |
'tcp://0.0.0.0:8000', $errno, $errstr | |
); | |
if (!$socket) { | |
echo "$errstr ($errno)", PHP_EOL; | |
} else { | |
while ($conn = stream_socket_accept($socket, -1)) { |
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
/* | |
http://stackoverflow.com/questions/233507/how-to-log-out-user-from-web-site-using-basic-authentication | |
*/ | |
package com.neolitec.examples; | |
import org.apache.commons.codec.binary.Base64; | |
import org.apache.commons.lang.StringUtils; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; |
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/sudo sh | |
# Configure this | |
SSH_HOST="myhost.com.br" | |
SSH_PORT="2222" | |
########### | |
SSH_LOGIN="root" # ONLY root CAN SETUP TUNNELS :-( | |
####################################################### | |
# USUALLY, you don't need to configure this |
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
wget http://git.io/vpn --no-check-certificate -O openvpn-install.sh; chmod +x openvpn-install.sh; ./openvpn-install.sh |
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
""" | |
HE-2-4 Copyright (C) 2014 Liam Stanley | |
License: Eiffel Forum License, version 2 | |
- https://links.ml/FFa1 | |
Website: https://liamstanley.io | |
NOTE: THIS IS FOR KVM BASED SERVERS ONLY. | |
I'M NOT ADDING CUSTOM CHECKS TO SEE IF | |
YOU'RE USING KVM. | |
""" |
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
http://tomlee.co/2011/10/gnu-screen-splitting/ | |
http://habrahabr.ru/post/126996/ | |
https://wiki.archlinux.org/index.php/Tmux_(%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9) | |
http://vstarkov.ru/tmux-for-noobs/ | |
http://blog.selectel.ru/obzor-terminalnyx-multipleksorov-tmux-i-dvtm/ | |
http://xgu.ru/wiki/tmux | |
http://www.dayid.org/os/notes/tm.html |
OlderNewer