scan sub-domain name
- dnscan https://github.com/rbsec/dnscan.git
- subbrute https://github.com/TheRook/subbrute.git
online tool:
https://pentest-tools.com/information-gathering/find-subdomains-of-domain https://dnsdumpster.com/
online tool:
https://pentest-tools.com/information-gathering/find-subdomains-of-domain
https://dnsdumpster.com/按照官方文档 (https://github.com/sightmachine/SimpleCV/blob/develop/doc/HOWTO-Install%20on%20RaspberryPi.rst) 安装之后, 有2处issues:
1) 执行 simplecv 报一堆错, 最后说: No module named pygame.
解决办法: sudo apt-get install python-pygame (使用pip 安装的pygame 不行)
2) 在代码里使用 Camera的时候, 代码报错, 我这里有2点问题
一个是哪个摄像头的有个接触不良, 就是上面写个 sunny的东西要贴近电路板;
第二个是, 没有 /dev/video0 设备文件, 需要执行 sudo modprobe bcm2835-v4l2 才有
网上购买了 USB 转 TTL 的线, 可是这货把RXD,TXD标错了. 
动态加载JS
function loadScript(scriptUrl, callback) {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = scriptUrl;
document.head.appendChild(script);
callback();
}
loadScript("https://code.jquery.com/jquery-3.3.1.min.js", function() {
console.log("loading script");
setTimeout(function () {
console.log("loading done");
//部分DIV 变为整个页面
$("body").html($('#sbo-rt-content').wrap('<p/>').parent().html());
//动态添加CSS
$(document.head).append(`<style>
@media print {
#sbo-rt-content {
background-color: white;
height: 100%;
width: 100%;
position: fixed;
top: 0;
left: 0;
margin: 0;
padding: 15px;
font-size: 14px;
line-height: 18px;
}
}
</style>`);
//打印
window.print();
}, 3000);
});
今天查问题 遇到如下异常:
java.net.ConnectException: Cannot assign requested address
看到网上大多数是说 本地往外连接的端口已经被占用完.
1) 首先查看本地的 ulimit 设置, 是否过小
_$ ulimit -a
2) 如果不是很小, 查看当前的 端口使用情况
_$ ss -s
3) 查看本地往外连接端口的设置:
_$ cat /proc/sys/net/ipv4/ip_local_port_range
更多的 linux 网络配置参数:https://www.tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.kernel.obscure.html#AEN1252
参考:
https://ma.ttias.be/linux-increase-ip_local_port_range-tcp-port-range/