Chapter III. Customize exclusive kali

1. Update Upgrade
• apt-get update
• apt-get upgrade
• apt-get dis-upgrade
 
2. Install the package according to the needs of individual preferences
• Library
• Apt-get command
• install their own software tools
• apt-get install kali-linux-all smplayer ibus ibus-pinyin flashplugin-nonfree gdebi amule
qbittorrent geany meld stardict ttf-wqy-microhei kchmviewer resolvconf python-dev
python-greenlet python-gevent python-vte python-openssl python-crypto python
appindicator python-pip libnss3-tools freemind netspeed libncurses5-dev mtr filezilla filezilla
common chromium monodevelop mono-gmcs -y
 
3. Install the necessary browser plug-in
• firefox browser plug-in
• flashgot 、autoproxy 、Tamper Data 、cookie importer、Cookies Manager、User Agent
Switcher、HackBar、Live http header、Firebug、Download YouTube Videos as MP4、
Flagfox, hashr
• https://addons.mozilla.org/en-US/firefox/addon/xss-me/
• https://addons.mozilla.org/en-US/firefox/addon/sql-inject-me/?src=ss
 
4. Installation Java (according to individual requirements)
• Download
• http://java.sun.com/javase/downloads/index.jsp
• Unpack
• taking -xzvf /root/jdk-7u45-linux-x64.tar.gz
• mv jdk1.7.0_45 /opt
• cd /opt/jdk1.7.0_45
• Install registration
• update-alternatives --install /usr/bin/java java /opt/jdk1.7.0_45/bin/java 1
• update-alternatives --install /usr/bin/javac javac /opt/jdk1.7.0_45/bin/javac 1
• update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /opt/jdk1.7.0_45/jre/lib/amd64/libnpjp2.so 1
 
• default setting
• update-alternatives --set java /opt/jdk1.7.0_45/bin/java
• update-alternatives --set javac /opt/jdk1.7.0_45/bin/javac
• update-alternatives --set mozilla-javaplugin.so /opt/jdk1.7.0_45/jre/lib/amd64/libnpjp2.so
• Verify
• java –version
• http://www.java.com/en/download/installed.jsp
 
5. concurrent threads restrictions
• Ulimite for limiting the use of resources within the shell of the current process
• Review the default values
• Ulimite –a
• global configuration files: / etc / security / limits
• <domain> <type> <item> <value>
• Use distance
• Limit file block size: ulimit - s 100
• Limit the use of shell memory: ulimit -m 5000 -v 5000
• There is no direct limit on the number of parameters of socket
• Linux system, everything is text, run the file called process
• ulimit -n 65535
Permanent:
echo ulimit -n 65535 >>/etc/profile  
 
6. Service Switch
• Kali Linux is not started by default all network services
• update-rc.d ssh default
• /etc/init.d/ssh start
 
7.FQ & Agent
• GFW Great Firewall
• Facebook、youtube
• FQ
• http proxy
• socks proxy
• ssh tunnel
 
 
8. Chain Agent
• public proxy server
• Configure the proxy chain
• We /etc/proxychains.conf
• # proxychains iceweasel
 
Proxy Settings
• /etc/apt/apt.conf
• Acquire::ftp::proxy "ftp://127.0.0.1:8087/";
• Acquire::http::proxy "http://127.0.0.1:8087/";
• Acquire::https::proxy "https://127.0.0.1:8087/";
• Acquire::socks::proxy "https://127.0.0.1:8087/";
• /etc/bash.bashrc
• export ftp_proxy="ftp://user:password@proxyIP:port"
• export http_proxy="http://user:password@proxyIP:port"
• export https_proxy="https://user:password@proxyIP:port"
• export socks_proxy="https://user:password@proxyIP:port"
 
 

Guess you like

Origin www.cnblogs.com/zhubochang/p/11206142.html