Month: September 2015

Turn any Linux computer into SOCKS5 proxy in one command

I thought I’d do a shorter article on catonmat this time. It goes hand in hand with my upcoming article series on “100% technical guide to anonymity” and it’s much easier to write larger articles in smaller pieces. Then I can edit them together and produce the final article. This article will be interesting for those who didn’t know it already — you can turn any Linux computer into a SOCKS5 (and SOCKS4) proxy in just one command: ssh -N…

Read More »

fdisk+mount+fstab 命令说明

一、fdisk 操作硬盘的命令 [root@localhost]# fdisk 设备 例如我们通过 fdisk -l 得知  /dev/sda设备;我们如果想再添加或者删除一些分区,可以用 [root@localhost]# fdisk /dev/sda 1、fdisk 的说明 当我们通过 fdisk 设备,进入相应设备的操作时,会发现有如下的提示 [root@localhost]# fdisk /dev/sda Command (m for help): 在这里按m ,就会输出帮助; Command action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition 注:这是删除一个分区的动作; l list known partition types 注:l是列出分区类型,以供我们设置相应分区的类型; m print this menu 注:m 是列出帮助信息; n add a new partition 注:添加一个分区; o create a new empty DOS partition table p print the partition table…

Read More »


mac电脑(yosemite)开机自启脚本的创建方法 I created /Library/LaunchDaemons/local.localhost.startup.plist containing the code below. It runs the rc.local script once at start up. <?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE plist PUBLIC “-//Apple Computer//DTD PLIST 1.0//EN” “”> <plist version=”1.0″> <dict> <key>Label</key> <string>local.localhost.startup</string> <key>Disabled</key> <false/> <key>RunAtLoad</key> <true/> <key>KeepAlive</key> <false/> <key>LaunchOnlyOnce</key> <true/> <key>ProgramArguments</key> <array> <string>/etc/rc.local</string> </array> </dict> </plist> 『摘自』

Read More »