unzip安装 sudo wget http://downloads.sourceforge.net/infozip/unzip552.tar.gz
tar -zxvf unzip552.tar.gz
cd unzip-5.52/
cp unix/Makefile ./
make generic
sudo make install
NETCAT安装 yum -y install nc apt-get install netcat -g<网关> 设置路由器跃程通信网关,最多可设置8个。 -G<指向器数目> 设置来源路由指向器,其数值为4的倍数。 -h 在线帮助。 -i<延迟秒数> 设置时间间隔,以便传送信息及扫描通信端口。 -l 使用监听模式,管控传入的资料。 -n 直接使用IP地址,而不通过域名服务器。 -o<输出文件> 指定文件名称,把往来传输的数据以16进制字码倾倒成该文件保存。 -p<通信端口> 设置本地主机使用的通信端口。 -r 乱数指定本地与远端主机的通信端口。 -s<来源位址> 设置本地主机送出数据包的IP地址。 -u 使用UDP传输协议。 -v 显示指令执行过程。 -w<超时秒数> 设置等待连线的时间。 -z 使用0输入/输出模式,只在扫描通信端口时使用。
redis可视化管理工具 https://github.com/qishibo/AnotherRedisDesktopManager/releases
docker安装 1.2.安装docker 安装yum工具
yum install -y yum-utils \ device-mapper-persistent-data \ lvm2 --skip-broken
然后更新本地镜像源:
yum-config-manager \ --add-repo \ https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo sed -i 's/download.docker.com/mirrors.aliyun.com\/docker-ce/g' /etc/yum.repos.d/docker-ce.repo yum makecache fast
然后输入命令:
docker-ce为社区免费版本。稍等片刻,docker即可安装成功。
1.3.启动docker Docker应用需要用到各种端口,逐一去修改防火墙设置。非常麻烦,因此建议大家直接关闭防火墙!
启动docker前,一定要关闭防火墙后!!
systemctl stop firewalld systemctl disable firewalld systemctl status firewalld
通过命令启动docker:
systemctl start docker systemctl stop docker systemctl restart docker systemctl status docker
当出现active(running)时,即为启动成功
1.4.配置镜像加速 docker官方镜像仓库网速较差,我们需要设置国内镜像服务:
参考阿里云的镜像加速文档:https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors
##创建文件夹 sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF' { "registry-mirrors" : ["https://akchsmlh.mirror.aliyuncs.com" ]} EOF touch daemon.jsonsudo systemctl daemon-reload sudo systemctl restart docker
到此Docker的安装就基本结束了
vulhub安装 启动环境 docker-compose up -d
关闭环境 docker-compose down
git clone https://github.com/vulhub/vulhub.git
burpsuite插件 jsEncrypter
前端加密爆破
https://github.com/c0ny1/jsEncrypter
1.下载 phantomjs
https://phantomjs.org/download.html
2.网站找到js加密方法 下载到phantomjs/bin文件夹,模板文件也放到目录下
3.修改模板文件的引入函数
4.phantomjs.exe nodejs_server_md5.js
5.bp插件点连接
msf安装 1. sudo apt update 2. sudo apt install curl gpg ruby -y 3. curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall 4. sudo ./msfinstall 5. sudo msfdb init 6. msfconsole
JDK安装 华为云镜像https://repo.huaweicloud.com/java/jdk/8u151-b12/
mkdir /usr/local/java cd /usr/local/javatar -zxvf jdk-8u151-linux-x64.tar.gz vim /etc/profile JAVA_HOME=/usr/local/java/jdk1.8.0_151 CLASSPATH=.:$JAVA_HOME /lib/tools.jar PATH=$JAVA_HOME /bin:$PATH export PATH=${JAVA_HOME} /:/opt/jvm/jdk1.8.0_151/bin:$PATH source /etc/profile
maven安装 https://blog.csdn.net/weixin_42601136/article/details/108588152
tomcat安装 https://dlcdn.apache.org/tomcat/tomcat-8/v8.5.87/bin/apache-tomcat-8.5.87.tar.gz
cd /usr/local/tomcattar -xzvf apache-tomcat-8.5.87.tar.gz vi /etc/profile export TOMCAT_HOME=/usr/local/tomcat/apache-tomcat-8.5.87 source /etc/profilecd /usr/local/tomcat/apache-tomcat-8.5.87/conf vim server.xml <Connector port="8888" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> cd /usr/local/tomcat/apache-tomcat-8.5.87/binsh startup.sh
设置所有ip可访问
cd /webapps/host-manager/META-INF/vi context.xml
访问tomcat页面Server Status,Manager APP,Host Manager报错 403(拒绝访问权限问题)。
cd /usr/local/tomcat/apache-tomcat-8.5.87/confvim tomcat-users.xml <!--tomcat 首页授权登录账号密码配置 --> <role rolename="admin-gui" /> <role rolename="manager-gui" /> <role rolename="manager-script" /> <user username="admin" password="admin" roles="admin-gui,manager-gui,manager-script" />