海运的博客

Sandboxie沙盘内程序使用Proxycap代理无效解决

发布时间:February 23, 2013 // 分类:Sandboxie // No Comments

Proxycap为本地任何程序提供协议转换功能,支持Socks5和HTTP常用代理方式,对于不支持代理的程序可使用Proxycap转换,在使用过程中发现Proxycap对于在Sandboxie沙盘内运行的程序无效。解决方法:
打开Sandboxie沙盘设置,在资源访问中添加直接IPC访问:

*\BaseNamedObjects*\proxycap_*_event* 

或直接编辑Sandboxie配置文件在特定沙盘下添加:

OpenIpcPath=*\BaseNamedObjects*\proxycap_*_event* 

如有多个沙盘可使用模板全局设置:

[Template_Local_Allow_ProxyCAP]

Tmpl.Title=Allow ProxyCAP to handle network redirection
OpenIpcPath=*\BaseNamedObjects*\proxycap_owner_event*
Tmpl.Class=Local

然后在全局设置下使用模板:

[GlobalSettings]
Template=Local_Allow_ProxyCAP

Sandboxie配置文件

发布时间:January 8, 2013 // 分类:Sandboxie // No Comments

备份下自己的Sandboxie配置文件:

[GlobalSettings]

FileRootPath=R:\Sandbox\%USER%\%SANDBOX%\
ProcessGroup=<StartRunAccess_Firefox>,firefox.exe,plugin-container.exe,imeutil.exe,rundll32.exe,wubiup.exe,explorer.exe,thunderliveud.exe,winrar.exe
ProcessGroup=<StartRunAccess_IE>,iexplore.exe
ProcessGroup=<InternetAccess_IE>,iexplore.exe
ProcessGroup=<StartRunAccess_Cradio>,cradio.exe
ProcessGroup=<InternetAccess_Cradio>,cradio.exe
ProcessGroup=<InternetAccess_Firefox>,firefox.exe,plugin-container.exe,wubiup.exe
InjectDll=C:\Program Files\Sandboxie\sbiextra\sbiextra.dll
InjectDll64=C:\Program Files\Sandboxie\sbiextra\sbiextra_x64.dll
Template=OfficeLicensing

[UserSettings_4BC00582]

SbieCtrl_UserName=administrator
SbieCtrl_NextUpdateCheck=1357643165
SbieCtrl_UpdateCheckNotify=n
SbieCtrl_ShowWelcome=n
SbieCtrl_HideWindowNotify=n
SbieCtrl_AutoApplySettings=n
SbieCtrl_SettingChangeNotify=n
SbieCtrl_BoxExpandedView_Firefox=n
SbieCtrl_BoxExpandedView_Program=y
SbieCtrl_BoxExpandedView_QQ=n
SbieCtrl_BoxExpandedView_USB=y
SbieCtrl_BoxExpandedView_Cradio=n
SbieCtrl_BoxExpandedView_IE=y
SbieCtrl_ReloadConfNotify=n
SbieCtrl_EditConfNotify=n
SbieCtrl_AddDesktopIcon=n
SbieCtrl_AddQuickLaunchIcon=n
SbieCtrl_AddContextMenu=y
SbieCtrl_AddSendToMenu=y
SbieCtrl_WindowLeft=295
SbieCtrl_WindowTop=150
SbieCtrl_WindowWidth=660
SbieCtrl_WindowHeight=450
SbieCtrl_ActiveView=40021
SbieCtrl_ColWidthProcName=250
SbieCtrl_ColWidthProcId=70
SbieCtrl_ColWidthProcTitle=310

[QQ]

Enabled=y
ConfigLevel=6
ForceProcess=qq.exe
LeaderProcess=qq.exe
NotifyInternetAccessDenied=y
NotifyStartRunAccessDenied=y
ClosedFilePath=D:\
ClosedFilePath=E:\
ClosedFilePath=F:\
ClosedFilePath=\Device\Mup\
OpenFilePath=%Personal%\Tencent Files\
OpenFilePath=%AppData%\LocalLow\SogouWB*

[Firefox]

Enabled=y
ConfigLevel=6
Template=Firefox_Profile_DirectAccess
DropAdminRights=y
ForceProcess=firefox.exe
LeaderProcess=firefox.exe
NotifyInternetAccessDenied=y
NotifyStartRunAccessDenied=y
OpenFilePath=firefox.exe,D:\下载专用\
OpenFilePath=firefox.exe,D\Downloads\Image
OpenFilePath=firefox.exe,%Local AppData%\*\safebrowsing\*
OpenFilePath=%AppData%\LocalLow\SogouWB*
ClosedFilePath=E:\
ClosedFilePath=F:\
ClosedFilePath=\Device\Mup\
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Http\*
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Nsi
ClosedFilePath=!<InternetAccess_Firefox>,\Device\RawIp6
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Udp6
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Tcp6
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Ip6
ClosedFilePath=!<InternetAccess_Firefox>,\Device\RawIp
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Udp
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Tcp
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Ip
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Afd*
ClosedIpcPath=!<StartRunAccess_Firefox>,*

[IE]

FileRootPath=R:\IE\
Enabled=y
ConfigLevel=6
Template=IExplore_ProtectedStorage
Template=IExplore_Feeds_DirectAccess
Template=IExplore_Cookies_DirectAccess
Template=IExplore_Favorites_RecoverFolder
Template=IExplore_Favorites_DirectAccess
Template=IExplore_Force
DropAdminRights=y
LeaderProcess=iexplore.exe
NotifyInternetAccessDenied=y
NotifyStartRunAccessDenied=y
ClosedFilePath=D:\
ClosedFilePath=E:\
ClosedFilePath=F:\
ClosedFilePath=\Device\Mup\
ClosedFilePath=!<InternetAccess_IE>,\Device\Http\*
ClosedFilePath=!<InternetAccess_IE>,\Device\Nsi
ClosedFilePath=!<InternetAccess_IE>,\Device\RawIp6
ClosedFilePath=!<InternetAccess_IE>,\Device\Udp6
ClosedFilePath=!<InternetAccess_IE>,\Device\Tcp6
ClosedFilePath=!<InternetAccess_IE>,\Device\Ip6
ClosedFilePath=!<InternetAccess_IE>,\Device\RawIp
ClosedFilePath=!<InternetAccess_IE>,\Device\Udp
ClosedFilePath=!<InternetAccess_IE>,\Device\Tcp
ClosedFilePath=!<InternetAccess_IE>,\Device\Ip
ClosedFilePath=!<InternetAccess_IE>,\Device\Afd*
ClosedIpcPath=!<StartRunAccess_IE>,*

[USB]

Enabled=y
ConfigLevel=6
DropAdminRights=y
ForceFolder=I:\
ForceFolder=H:\
NotifyInternetAccessDenied=y
NotifyStartRunAccessDenied=y
ClosedFilePath=C:\
ClosedFilePath=D:\
ClosedFilePath=E:\
ClosedFilePath=F:\
ClosedFilePath=\Device\Mup\
ClosedFilePath=\Device\Http\*
ClosedFilePath=\Device\Nsi
ClosedFilePath=\Device\RawIp6
ClosedFilePath=\Device\Udp6
ClosedFilePath=\Device\Tcp6
ClosedFilePath=\Device\Ip6
ClosedFilePath=\Device\RawIp
ClosedFilePath=\Device\Udp
ClosedFilePath=\Device\Tcp
ClosedFilePath=\Device\Ip
ClosedFilePath=\Device\Afd*
ClosedIpcPath=*

[Program]

Enabled=y
ConfigLevel=6
FileRootPath=R:\Program Files\

[Cradio]

Enabled=y
ConfigLevel=6
DropAdminRights=y
NeverDelete=n
ForceProcess=cradio.exe
LeaderProcess=cradio.exe
NotifyInternetAccessDenied=y
NotifyStartRunAccessDenied=y
ClosedFilePath=E:\
ClosedFilePath=F:\
ClosedFilePath=\Device\Mup\
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Http\*
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Nsi
ClosedFilePath=!<InternetAccess_Cradio>,\Device\RawIp6
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Udp6
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Tcp6
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Ip6
ClosedFilePath=!<InternetAccess_Cradio>,\Device\RawIp
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Udp
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Tcp
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Ip
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Afd*
ClosedIpcPath=!<StartRunAccess_Cradio>,*

Sandboxie常用变量及设置变量

发布时间:January 8, 2013 // 分类:Sandboxie // No Comments

Sandboxie编写配置文件时可使用变量,常用变量如下:

sandbox 当前的沙盘名称
user/username 当前系统用户名称
ProgramFiles 程序安装目录,如C:\Program Files
SystemRoot 系统目录,如C:\Windows 
SystemDrive 系统分区,如C:
UserProfile 当前用户目录,如C:\Users\Administrator
tmp 系统临时目录,如C:\Windows\Temp 
AppData 用户数据目录,如C:\Users\Administrator\AppData
Local AppData C:\Users\Administrator\AppData\Local

更改Sandboxie默认变量:

Ovr.Tmpl.Firefox=C:\Firefox\Profiles\

设置Sandboxie变量:

Reg.Desktop=%USERPROFILE%\Desktop
分类
最新文章
最近回复
  • boscotsang: 请问下服务器端如何控制权限让通过权限认证的客户端才能连接?现在这样只要有自编译的客户端程序都可...
  • yck932: 大侠,请问哪里有 tunnels 详细参考资料,谢谢
  • bubble: 现在linux 4.9以上的内核有个bbr的参数,用这个bbr比用锐速效果更好,可参考我的博文...
  • wang: openwrt 只有 tmp/etc/miniupnpd.conf 修改后又重置了,其他路径找...
  • wbq: 可以了 只是https透明代理如何做呢?
  • wbq: 你的这个配置需要浏览器设置代理ip+port, 现在假设不设置,只配置客户端网关为Nginx那...
  • wbq: 您好,想用Nginx做个透明代理,客户端机器配置下网关(即Nginx那台机器),客户端dns配...
  • ccc: 可以提供易调用openssl常用函数吗?
  • 夜未央: 在centos7 下面 貌似转换不了。有人遇到过么????
  • brian: 博主你好,请教一个问题。我使用fprobe进行将交换机流量转换成netflow时是没有问题的,...