The default path for nmap script in Kali Linux is
/usr/share/nmap/scripts/
2017年4月3日 星期一
2017年2月25日 星期六
qubes hvm linux 網路設定
把以下的內容貼到 /etc/rc.local 並修改 ip 和 gateway。 ip 和 gateway 可以從 vm settings 裡找到
ip=10.137.5.44
gateway=10.137.5.1
ifconfig eth0 $ip netmask 255.255.255.255
ifconfig eth0 up
route add -host $dateway dev eth0
route add default gw $gateway
echo 'nameserver 8.8.8.8' > /etc/resolv.conf
ip=10.137.5.44
gateway=10.137.5.1
ifconfig eth0 $ip netmask 255.255.255.255
ifconfig eth0 up
route add -host $dateway dev eth0
route add default gw $gateway
echo 'nameserver 8.8.8.8' > /etc/resolv.conf
2017年1月31日 星期二
atom editor 使用 alt +num 切換 tab 時,focus 會轉移到 tree-view 的解法
atom editor 使用 alt +num 切換 tab 時,focus 會轉移到 tree-view 的解法
解決辦法
移除 synced-sidebar plugin
解決辦法
移除 synced-sidebar plugin
2017年1月24日 星期二
windows 下,給 bash on ubuntu on windows 使用的最好終端機模擬器
如題,這是我目前看到最好用的終端機模擬器
用來跑 bash on ubuntu on windows
2017/01/24
https://github.com/mintty/wsltty
用來跑 bash on ubuntu on windows
2017/01/24
https://github.com/mintty/wsltty
2017年1月8日 星期日
solutions for bash on windows hang because of some reasons
There are some way to break bash on windows.
One way is that move file using mv command.
To make your bash work again, this is a solution.
This is not the only solution.
The solution will clean all your data in bash on ubuntu on windows.
Use it carefully
Steps:
One way is that move file using mv command.
To make your bash work again, this is a solution.
This is not the only solution.
The solution will clean all your data in bash on ubuntu on windows.
Use it carefully
Steps:
- lxrun.exe /uninstall /full /y
- rebootdelete all thing in "%LOCALAPPDATA%/lxss/temp/"
- reboot
- lxrun.exe /install
2016年12月28日 星期三
sbt 執行時發生 no trusted certificate found 的解法
當執行 sbt 時發生 no trusted certificate found 的解法
移除 openjdk-9 安裝 openjdk-8
移除 openjdk-9 安裝 openjdk-8
2016年8月24日 星期三
enable tab to click in fedora
在 /etc/X11/xorg.conf.d 建立 99-touchpad.conf (數字很重要,99比較好)
有下面內容
有下面內容
Section "InputClass"
Identifier "touchpad overrides"
# This makes this snippet apply to any device with the "synaptics" driver
# assigned
MatchDriver "synaptics"
####################################
## The lines that you need to add ##
# Enable left mouse button by tapping
Option "TapButton1" "1"
Option "TapButton2" "3"
# Enable vertical scrolling
Option "VertEdgeScroll" "1"
# Enable right mouse button by tapping lower right corner
Option "RBCornerButton" "3"
####################################
EndSection
2016年5月16日 星期一
multi interface in ubuntu cloud image
add auto eth1 and iface eth1 inet dhcp to /etc/network/interface
http://askubuntu.com/questions/262054/creating-multiple-interfaces-on-openstack-instances
2016年4月9日 星期六
更新 mp3 id3 亂碼
更新單一目錄 mp3
mid3iconv -e big5 *.mp3
更新目錄下髓有 mp3
find . -iname "*.mp3" -execdir mid3iconv -e big5 "{}" \;
參考資料
http://david50.pixnet.net/blog/post/22253957-%5B%E7%AD%86%E8%A8%98%5D%E5%9C%A8ubuntu%E4%B8%8B%E5%A4%A7%E9%87%8F%E8%BD%89%E6%8F%9Bid3%E4%B9%8B%E7%B7%A8%E7%A2%BC
2016年3月27日 星期日
windows linux dual boot time issue
windows linux dual boot time issue
old solution:
edit /etc/default/rcS
make UTC=no
new solution:
timedatectl set-local-rtc 1
old solution:
edit /etc/default/rcS
make UTC=no
new solution:
timedatectl set-local-rtc 1
訂閱:
文章 (Atom)