How to Create Powershell Samples with Unique SHA1
powershell -executionpolicy bypass -File powershell.ps1 -howmany 20
powershell -executionpolicy bypass -File 0019.ps1
2015年12月7日 星期一
2015年11月29日 星期日
016 creative zip file (linux shell) homework (1&2)
Homework #1 How to unzip it repeatedly to get the deepest one?
Answer:
one line script
while [ 1 ]; do candidate=`find ./ -name "*.zip"`; for i in $candidate; do unzip $i; rm $i; done; left=`find ./ -name "*.zip" | wc -l`; if [ $left -eq 0 ]; then break; fi; done
.sh file
Answer:
one line script
while [ 1 ]; do candidate=`find ./ -name "*.zip"`; for i in $candidate; do unzip $i; rm $i; done; left=`find ./ -name "*.zip" | wc -l`; if [ $left -eq 0 ]; then break; fi; done
.sh file
2015年11月26日 星期四
016 creative zip file (linux shell)
How to Create Zip File in a Creative Way
Step 1. prepare the original file valuable to you.
// for example, and, as many times as you want
echo work smart play hard >> treasure.txt
Step 1. prepare the original file valuable to you.
// for example, and, as many times as you want
echo work smart play hard >> treasure.txt
2015年11月13日 星期五
015 docker-enabled sshd server
Step by Step for Ubuntu 14.04 LTS, Trusty Tahr
https://docs.docker.com/installation/ubuntulinux/
Request:
1. a ssh server for integration test
Test Account:
root:admin
https://docs.docker.com/installation/ubuntulinux/
Request:
1. a ssh server for integration test
Test Account:
root:admin
2015年11月2日 星期一
014 docker-enabled squid proxy
Step by Step for Ubuntu 14.04 LTS, Trusty Tahr
https://docs.docker.com/installation/ubuntulinux/
https://docs.docker.com/installation/ubuntulinux/
Request:
1. HTTP Proxy without AuthenticationTest Account:
2. HTTP Proxy with Basic Authentication
3. HTTP Proxy with Digest Authentication
root:admin
hello:kitty
訂閱:
文章 (Atom)
