码迷,mamicode.com
首页 >  
搜索关键字:nc    ( 886个结果
Apache通过rewrite限制某个目录---模块
1.编辑虚拟主机文件vim/usr/local/apache2/conf/extra/httpd-vhosts.conf编辑<IfModulemod_rewrite.c>模块,在底部加入:RewriteCond%{REQUEST_URI}^.*/tmp/.*[NC]RewriteRule.*-[F]---禁止用户访问到/tmp目录下的文件.
分类:Web程序   时间:2016-06-08 17:19:29    阅读次数:174
netcat nc
...
分类:Web程序   时间:2016-06-07 08:51:39    阅读次数:167
netcat,nmap常用例子
1,端口扫描端口扫描经常被系统管理员和黑客用来发现在一些机器上开放的端口,帮助他们识别系统中的漏洞。nc-zvn172.16.160.11121-25可以运行在TCP或者UDP模式,默认是TCP,-u参数调整为udp.##udp测试无论检测什么端口都是successedz参数告诉netcat使用0IO,连接成功后立即关闭..
分类:Web程序   时间:2016-06-02 20:11:18    阅读次数:321
zabbix监控nginx
1.在nginx中开启状态模板[root@web03~]#vim/usr/local/nginx-1.8.0/conf/nginx.conflocation/stat{stub_statuson;access_logoff;allow本机的IP地址;#只允许本机访问denyall;}2.写出监控nginx的脚本[root@web03~]#vim/home/shell/nc_nginx_check.sh#!/bin/bash#Scripttofetchngi..
分类:其他好文   时间:2016-05-13 05:13:18    阅读次数:245
[DP 矩阵快速幂] BZOJ 1875 [SDOI2009]HH去散步
一个DP 用矩阵快速幂加速 然后这个DP状态比较巧妙 以边作状态 #include #include #include #include #define cl(x) memset(x,0,sizeof(x)) using namespace std; inline char nc() { static char buf[100000],*p1=buf,*p2=buf; if (...
分类:其他好文   时间:2016-05-13 02:39:40    阅读次数:237
[Bfs 乱搞] BZOJ 3137 [Baltic2013]tracks
跟省选day2讲的一道题好像... #include #include #include #include #include using namespace std; inline char nc() { static char buf[100000],*p1=buf,*p2=buf; if (p1==p2) { p2=(p1=buf)+fread(buf,1,100000,std...
分类:其他好文   时间:2016-05-13 02:32:08    阅读次数:250
[线性规划 对偶原理 单纯形] BZOJ 3265 志愿者招募加强版
就是个裸题了 #include #include #include #include #define cl(x) memset(x,0,sizeof(x)) using namespace std; typedef long long ll; inline char nc() { static char buf[100000],*p1=buf,*p2=buf; if (p1==p2...
分类:其他好文   时间:2016-05-13 02:29:07    阅读次数:413
[线段树建图 bfs] BZOJ 3073 [Pa2011]Journeys
CA爷的题解:http://blog.csdn.net/CreationAugust/article/details/50739132 #include #include #include #include using namespace std; inline char nc() { static char buf[100000],*p1=buf,*p2=buf; if (p1=...
分类:其他好文   时间:2016-05-13 02:06:38    阅读次数:165
[CDQ分治 并查集] BZOJ 3237 [Ahoi2013]连通图
考虑CDQ分治 把这半边对后半边没有影响的操作做了 然后分治 用并查集维护 开个栈暴力还原 #include #include using namespace std; inline char nc() { static char buf[100000],*p1=buf,*p2=buf; if (p1==p2) { p2=(p1=buf)+fread(buf,1,100000,s...
分类:其他好文   时间:2016-05-13 01:38:21    阅读次数:210
[乱搞 树状数组] BZOJ 4548 小奇的糖果 && BZOJ 3658 Jabberwocky
跟悬线法有点像 #include #include #include #include #define cl(x) memset(x,0,sizeof(x)) using namespace std; inline char nc() { static char buf[100000],*p1=buf,*p2=buf; if (p1==p2) { p2=(p1=buf)+fread...
分类:编程语言   时间:2016-05-13 01:34:49    阅读次数:248
886条   上一页 1 ... 55 56 57 58 59 ... 89 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!