海运的博客

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
分类
最新文章
最近回复
  • 海运: 你是编译不成功呢?还是编译后不能运行呢?还是运行后不能访问web界面呢?
  • 白墨: 可能不清楚就是编译安装后启动后访问不了web界面
  • 白墨: 你好博主按照你的教程是编译安装不了的,在centos7版本下,我在开源镜像站下载centos7...
  • 感谢: 好的谢谢。
  • 海运: 可在github选择指定的branch或tag查看Makefile文件内核版本git指定bra...
  • 感谢: 请问一下“git checkout 20181012”这条命令是什么意思,没有google到。...
  • 海运: 抱歉,我没用蓝牙,现在N1在稳定挂PT中,没法折腾了。
  • hxhw: 大神能弄一個N1盒子開啟藍芽的教程不?我目前的藍芽識別不了似的(BD Address: 00:...
  • 海运: 抱歉,没用过wireguard,不了解具体情况。看错误提示是创建虚拟网卡的类型wireguar...
  • zhu tie: 本人小白我想在n1上装wireguard,安装后错误信息如下:wg-quick up wg0[...
页面执行耗时:0.071秒。-->