Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
114 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<B>这是什么?</B> | ||
|
||
Secret Socks 是mac下一款非常出色的ssh工具,但是Secret Socks的原始版本不提供密码保存的功能,也许作者是出于安全考虑。 | ||
但是有时候确是有些不方便。正好Secret Socks的源代码是开放的,所以Sercret-Socks-Extend就在此代码上增加了可以选择密码保存的功能 | ||
以解决每次运行都要输入密码的烦恼。 | ||
|
||
<B>怎么使用?</B> | ||
|
||
你可以下载源代码,自已用xcode编译。也可以下载build目录下的app文件,直接拖到“应用程序”目录下,运行即可。 | ||
|
||
|
||
基于Sercet Socks 1.0.2的代码修改 | ||
|
||
Sercet Socks原版网站:<a href="http://nihilex.com/secret-socks">点击访问</a> | ||
|
||
非常感谢Sercet Socks的作者能够免费提供如此方便实用的软件。 |
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>BuildMachineOSBuild</key> | ||
<string>11D50b</string> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleExecutable</key> | ||
<string>Secret Socks</string> | ||
<key>CFBundleIconFile</key> | ||
<string>locked-socks</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.nihilex.Secret Socks</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>Secret Socks</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>1.0.2</string> | ||
<key>DTCompiler</key> | ||
<string></string> | ||
<key>DTPlatformBuild</key> | ||
<string>4D502</string> | ||
<key>DTPlatformVersion</key> | ||
<string>GM</string> | ||
<key>DTSDKBuild</key> | ||
<string>11C63</string> | ||
<key>DTSDKName</key> | ||
<string>macosx10.7</string> | ||
<key>DTXcode</key> | ||
<string>0421</string> | ||
<key>DTXcodeBuild</key> | ||
<string>4D502</string> | ||
<key>LSApplicationCategoryType</key> | ||
<string></string> | ||
<key>NSMainNibFile</key> | ||
<string>MainMenu</string> | ||
<key>NSPrincipalClass</key> | ||
<string>NSApplication</string> | ||
</dict> | ||
</plist> |
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
APPL???? |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<html> | ||
<head> | ||
<style type="text/css"> | ||
body { text-align: center; } | ||
a, a:link { text-decoration: none; color: darkblue; } | ||
a:hover { text-decoration: underline; } | ||
</style> | ||
<body> | ||
<p>© Joshua Chan, 2009<br/> | ||
<a href="http://nihilex.com/secret-socks/">http://nihilex.com/secret-socks/</a></p> | ||
<p><a href="http://github.com/brl/obfuscated-openssh/">obfuscated-openssh</a> patch by Bruce Leidl</p> | ||
<p>Special thanks to <a href="http://iamthekiller.net">Ryan Pfleghaar</a></p> | ||
</body> | ||
</html> |
Binary file added
BIN
+152 Bytes
build/Secret Socks.app/Contents/Resources/English.lproj/InfoPlist.strings
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/bin/env python | ||
# | ||
# getservice.py | ||
# Determine the active network service name | ||
# | ||
# Created by Joshua Chan on 09-09-03. | ||
# | ||
|
||
import os | ||
import re | ||
|
||
# Make a list of all available service names | ||
fh = os.popen("networksetup -listnetworkserviceorder 2> /dev/null", "r") | ||
services = [] | ||
for line in fh.readlines(): | ||
m = re.search('^\(\d{1,2}\) ([\w -]+)$', line) | ||
if m: | ||
result = m.group(1) | ||
services.append(result) | ||
fh.close() | ||
|
||
# Find the first service with a router address | ||
for service in services: | ||
fh = os.popen("networksetup -getinfo '%s' 2> /dev/null" % service, "r") | ||
info = fh.read() | ||
fh.close() | ||
|
||
m = re.search('^Router: ', info, re.MULTILINE) | ||
if m: | ||
activeService = service | ||
break | ||
|
||
print activeService |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
|
||
echo $SSH_PASSWD | ||
exit 0 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.