Linux
shell脚本中shift的用法说明
shift命令用于对参数的移动(左移)。
示例1:依次读取输入的参数并打印参数个数:
run.sh:
#!/bin/bash
while [ $# != 0 ];do
echo "第一个参数为:$1,参数个数为:$#"
shift
done
输入如下命令运行:run.sh a b c d e...
分类:
系统相关 时间:
2014-05-01 22:06:54
阅读次数:
475
telnet: 远程登录协议, 23/tcp C/S S:telnet服务器 C:telnet客户端
ssh:Secure SHell, 应用层协议,22/tcp 通信过程及认证过程是加密的, 主机认证 用户认证过程加密 ...
分类:
其他好文 时间:
2014-05-01 10:14:05
阅读次数:
324
关于phpweb后台拿shell简单方法。首先登录后台admin.php登录后台管理系统后,然后把下面的文件保存为xxx.html,修改action,把www.xxx.com改成你的目标网站地址。代码文件如下:然后选择你的马儿再上传上传后如果为iis6,就点击查看源码就可以找到马儿的路径了。菜刀链接...
分类:
Web程序 时间:
2014-05-01 08:46:04
阅读次数:
453
良精南方后台简单拿shell作者:qxz_xp 发布:2013-11-02 00:51
分类:菜鸟入门,黑客技术,黑客攻防5条评论首先必须要先登入管理后台。进入后台管理后,在网站地址后面加上
admin/southidceditor/admin_style.asp 这是良精南方的远程编辑器路径。.....
分类:
其他好文 时间:
2014-05-01 08:42:50
阅读次数:
409
本次主题:指针与数组在进入主题前,我们先看一个例子:#includeint main(){
int a[5] = { 1, 2, 3, 4, 5 }; int *ptr = (int *) (&a + 1); printf("%d,%d\n",
*(a + 1), *(ptr - ...
分类:
其他好文 时间:
2014-05-01 08:40:11
阅读次数:
324
一、正则表达式的使用
cd /usr/share/dict
1、找出words文件下所有以a开头t结尾的单词
egrep "^a.*t$" words
2、匹配以abcde开头,以at结尾的单词
egrep "\" words
3、以大写字母开头,以t结尾
egrep "^[[:upper:]]t$" words
二、管道的使用
egrep "^a.*t$" words|wc -...
分类:
系统相关 时间:
2014-04-30 22:32:38
阅读次数:
372
代码如下
#include
#include
#include
using namespace std;
template
class Base
{
public:
Base(T name);
virtual void toString();
protected:
T id;
};
template
Base::Base(T n)
{
printf("B...
分类:
编程语言 时间:
2014-04-30 22:27:39
阅读次数:
450
大家对va_list , va_start,va_arg,va_end
不陌生吧? 对scanf, printf类型
(如sscanf,sprintf)的带可变参数的函数的原理知道多少呢?
如果有兴趣了解的
话,推荐大家阅读: http://www.cnblogs.com/acutus/p/variable-parameter.html
当然,值得指出...
分类:
编程语言 时间:
2014-04-30 22:21:40
阅读次数:
364
在Linux系统中,OpenSSH是目前最流行的远程系统登录与文件传输应用,也是传统Telenet、FTP和R系列等网络应用的换代产品。其中,ssh(Secure Shell)可以替代telnet、rlogin和rsh,scp(Secure Copy)与sftp(Secure FTP)能后替代ftp。...
分类:
其他好文 时间:
2014-04-29 13:28:21
阅读次数:
357