simple shell】的更多相关文章

前两篇文章的木马太被动,今天是通过socket和os来进行主动木马编写 有些s13,我真的搞不懂拿一些没过脑子的代码就放到网上去害人,骗流量,还某知名安全企业学院写的,真的服.我的代码自己运行过,很稳,各位慎重,勿做非法之事 因为是木马入门,所以前几篇比较简单,也只是一个模块搭建,后期我会逐步搭建框架,一周我也只会出两三篇来记录自己的编写历程,所以大佬们亲喷 首先当然是控制端 from socket import * import os import time import subprocess…
NOW = $(data + "%Y-%m-%d-%H-%M-%S") DIR = /export/backup function exportData(){ exportCmd = "/export/mongodb/bin/mongodump" $exportCmd -h 127.0.0.1 -u "admin" -p "admin" -d test --gzip -o $DIR/test_$NOW } echo expor…
Xv6的lecture LEC 1 Operating systems   L1: O/S overview L1:O/S概述   * 6.828 goals 6.828的目标   Understand operating systems in detail by designing and implementing a small O/S 通过设计并实现一个小型的系统在细节上理解操作系统.   Hands-on experience with building systems("Applyin…
本文翻译自 iSystemAdmin 的 <A Simple Shell Script to Backup MySQL Database> Shell脚本是我们写不同类型命令的一种脚本,这些命令在这一个文件中就可以执行.我们也可以逐一敲入命令手动执行.如果我们要使用shell脚本就必须在一开始把这些命令写到一个文本文件中,以后就可以随意反复运行这些命令了. 我首先要在本文带给你的是完整脚本.后面会对该脚本做说明.我假定你已经知道shell scripting. mysqldump和cronta…
1.stdio : standard input output 标准输入输出 2.printf函数调用到的2个关键函数: vsprintf : 格式化打印信息,最终得到纯字符串的打印信息等待输出 putc : 操控标准输出的硬件,将信息发送出去 3.移植步骤: (1)解压printf.rar到uart_stdio目录,解压后会有include.lib两个目录,其中include放的是相关头文件,lib放的是printf.scanf相关的代码: (2)修改uart_stdio目录下的makefil…
Ubuntu and Win10 - double OS 2016-02-21 Yesterday I helped my friend install Ubuntu (14.04 LTS) on his PC where there has been a MS Win10. I used UltraISO to create a U-disk installation and installed it. However, then we could only start up Ubuntu a…
How to install PBS Pro using the configure script. . Install the prerequisite packages for building PBS Pro. For CentOS systems you should run the following command as root: yum install -y gcc make rpm-build libtool hwloc-devel \ libX11-devel libXt-d…
软件列表 软件 版本 备注 centos 6.4 x86_64 64位系统 mysql mysql5.5.49 本机使用 python 2.7 seafile 依赖python pip 8.1.2 安装模块使用 python-imaging 1.1.7 python模块 mysql-python 1.2.5 python模块 使用pip安装 pythhon-setuptools 23.0.0 python模块 simplejson 默认版本 seafile-server seafile-serv…
Some basic rules to coding a daemon prevent unwanted interactions from happening. We state these rules and then show a function, daemonize, that implements them. 编写一个没有交互功能的守护进程是有一定的步骤的.我们列出相关的步骤,并且给出一个函数daemonize,用于展示. 1.    The first thing to do is…
From: http://www.vogella.com/tutorials/Git/article.html Git - Tutorial Lars Vogel Version 5.6 Copyright © 2009, 2010, 2011, 2012, 2013, 2014 Lars Vogel 08.02.2014 Revision History Revision 0.1 - 5.6 13.09.2009 - 08.02.2014 LarsVogel bug fixes and imp…