Skip to content

Commit

Permalink
增加说明,增加build目录
Browse files Browse the repository at this point in the history
  • Loading branch information
cdredfox committed Mar 10, 2012
1 parent b2f715f commit 3c8b79a
Show file tree
Hide file tree
Showing 13 changed files with 114 additions and 0 deletions.
Binary file modified .DS_Store
Binary file not shown.
16 changes: 16 additions & 0 deletions README
@@ -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 added build/.DS_Store
Binary file not shown.
46 changes: 46 additions & 0 deletions build/Secret Socks.app/Contents/Info.plist
@@ -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.
1 change: 1 addition & 0 deletions build/Secret Socks.app/Contents/PkgInfo
@@ -0,0 +1 @@
APPL????
14 changes: 14 additions & 0 deletions build/Secret Socks.app/Contents/Resources/Credits.html
@@ -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>&copy; 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 not shown.
Binary file not shown.
33 changes: 33 additions & 0 deletions build/Secret Socks.app/Contents/Resources/getservice.py
@@ -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
4 changes: 4 additions & 0 deletions build/Secret Socks.app/Contents/Resources/pass
@@ -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 added build/Secret Socks.app/Contents/Resources/ssh
Binary file not shown.

0 comments on commit 3c8b79a

Please sign in to comment.