自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(40)
  • 收藏
  • 关注

原创 C++解析域名

主要代码如下:#include "CDNS.h"#include "random.h"#include "CString.h"#include #include #include #pragma comment(lib, "ws2_32.lib")#pragma comment(lib, "Dnsapi.lib")CDNS::CDNS() { m_bSockInited

2013-08-29 23:04:06 3661 1

原创 C++实现随机数

random.h:#ifndef __RANDOM_H__#define __RANDOM_H__void init_random();int brandom(int bottom,int top);int brandom_100(int bottom,int top);int get_random_number(int range);#endif // __RANDOM_H_

2013-08-29 21:47:52 837

原创 C++命名空间实现MD5加密

采用namespace。VS2010新建控制台空项目,加入下面的代码:global.h:/* GLOBAL.H - RSAREF types and constants /* Copyright (C) RSA Laboratories, a division of RSA Data Security, Inc., created 1991. All rights reser

2013-08-28 22:17:17 1450

原创 C++实现Sapphire加密

VS2010新建控制台空项目,加入下面的代码:CSapphire.h:#ifndef __CSAPPHIRE_H__#define __CSAPPHIRE_H__class CSapphire {public: CSapphire(unsigned char *key = 0, unsigned char keysize = 0); // Calls initialize

2013-08-28 21:20:03 922

原创 C语言实现ftp客户端

在VS2010新建win32控制台空项目,加入下面代码:ftplib.h:/***************************************************************************//* *//* ftplib.h - header file for callable ftp access routines

2013-08-27 22:50:41 22624 6

原创 用telnet来发邮件并用C语言实现

过程如下:220 hz-b-126smtp1.126.com SMTP Server for Netease [466] e8241e55-7706-40c6-86bc-145helo smtp.126.com250 hz-b-126smtp1.126.com e8241e55-7706-40c6-86bc-14581e3c9753auth login //登录334 VXNlcm5h

2013-08-26 22:40:02 3814

原创 C语言实现MD5算法

md5.h:/* ********************************************************************** ** md5.h -- Header file for implementation of MD5 ** ** RSA Data Security, Inc. MD5 Message Diges

2013-08-25 21:06:12 13584 3

原创 C语言的函数返回值所存放的寄存器

#include int add(int a, int b){ return a + b;}int asm_compare_one(int a){ _asm { mov edx, a cmp edx, 1 je val1 xor eax,eax jmp val0val1: mov eax, 1val0: } //eax中存放返回值}int m

2013-08-24 21:59:26 8229

原创 C语言内嵌汇编语言

代码如下:#include int abs(int i){ _asm mov eax, i; _asm or eax, eax; _asm jge EXIT; _asm neg eax; _asm mov i, eax;EXIT: return i;}int abs2(int i){ _asm { mov eax, i;

2013-08-24 17:50:00 1358

原创 C++用CreateProcess来打开IE

#include #include #define IE L"C:\\Program Files\\Internet Explorer\\iexplore.exe"#define CMD L"open http://www.baidu.com/"int main(){ STARTUPINFO si; GetStartupInfo(&si); PROCESS_INFORMATIO

2013-08-20 23:54:31 4717

原创 C++用ShellExecute打开IE

#include #include #define IE L"iexplore.exe"#define URL L"http://www.baidu.com/"int main(){ HINSTANCE hInstance; hInstance = ShellExecute(NULL, L"open", URL, NULL, NULL, SW_HIDE); //hInstanc

2013-08-20 23:13:36 3749

原创 C++打开一个URL

代码如下:#include #include #include #pragma comment(lib, "Wininet.lib")#define USER_AGENT L"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727)"

2013-08-20 22:39:44 8734

转载 反弹端口原理与HTTP隧道技术

http://blog.163.com/feiqiu_13/blog/static/16870088920108123110438/现在,很多木马都利用了“反弹端口原理”与“HTTP隧道技术”,它的服务端(被控制端)会主动连接客户端(控制 端),因此,在互联网上可以访问到局域网里通过NAT代理(透明代理)上网的电脑,可以穿过防火墙( 包括:包过滤型及代理型防火墙) ,并且支持所有的上网

2013-08-20 08:26:01 1529

原创 C++设置文件修改时间

VS2010新建控制台空项目,加入C++代码:#include #include bool ConvertFileTimeToLocalTime(const FILETIME *lpFileTime, SYSTEMTIME *lpSystemTime){ if (!lpFileTime || !lpSystemTime) { return false; } FILETIME

2013-08-19 23:30:48 5513

原创 OllyDbg、IDA Pro联合调试

IDA Pro的版本是6.1,OllyDbg的版本是1.10。IDA Pro的菜单File->Produce file->Create MAP File产生map文件。下载loadmap插件,地址http://tuts4you.com/download.php?view.65,解压得到LoadMap.dll,放到OllyDbg的目录。打开OllyDbg,菜单Plugins->Loa

2013-08-19 21:07:53 4555

转载 windows溢出保护原理与绕过方法概览

http://bbs.pediy.com/showthread.php?p=879124#post879124Windows溢出保护原理与绕过方法概览 V2.0By  : riusksk(泉哥)Blog: http://riusksk.blogbus.comData: 第1版:2010/10/26      第2版:2011/3/26 前言从20世纪

2013-08-19 20:36:08 5464

原创 C++单实例——节

VS2010新建win32空工程,加入C++代码:#include #pragma data_seg("Shared") //创建新节int volatile g_lAppInstance =0; //必须有初示化 #pragma data_seg() //结束#

2013-08-18 17:05:34 800

原创 C++单实例——互斥对象

VS2010新建win32空工程,加入C++代码:#include int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nC

2013-08-18 16:53:59 794

原创 C++隐藏任务栏和桌面

VS2010新建控制台空工程,加入C++代码:#include #include int main(int argc, char* argv[]){ HWND disk,mask; disk=FindWindow(L"ProgMan",NULL); mask=FindWindow(L"Shell_TrayWnd",NULL); ShowWindow(mask,SW_HIDE);

2013-08-18 16:38:27 7447 2

原创 C++弹出关闭光驱

VS2010新建win32空工程,加入C++代码:#include #include #pragma comment (lib, "Winmm")int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR l

2013-08-18 16:25:09 1909

原创 C++关闭所有窗口

VS2010新建win32空工程,加入c++代码:#include BOOL CALLBACK EnumWindowsProc(HWND hwnd,LPARAM IParam)//回调函数{ PostMessage(hwnd, WM_CLOSE, 0, 0); return TRUE;}int APIENTRY WinMain(HINSTANCE hInstance,

2013-08-18 16:10:37 4573

原创 C++暂时关闭显示器

在VS2010新建win32空工程,加入C++代码:#include int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int

2013-08-18 15:40:08 2476

原创 BT5入侵mssql

mssql_ping:msf auxiliary(mssql_ping) > show optionsModule options (auxiliary/scanner/mssql/mssql_ping): Name Current Setting Required Description ---- ---

2013-08-18 13:32:26 3617

转载 List of Google Dorks to find SQL Injection Vulnerability

http://www.greenhackerz.com/2012/03/more-than-600-dorks-to-find-sql.htmlinurl:index.php?id=inurl:trainers.php?id=inurl:buy.php?category=inurl:article.php?ID=inurl:lay_old.php?id=inur

2013-08-16 08:20:33 8773

转载 WordPress ProPlayer Plugin 4.7.9.1 - SQL Injection

http://www.exploit-db.com/exploits/25605/############### Exploit Title : WordPress ProPlayer Plugin SQL Injection## Exploit Author : Ashiyane Digital Security Team## Plugin Link  :

2013-08-11 23:03:17 1215

转载 John the Ripper

http://book.51cto.com/art/200807/82046.htm8.3.1  John the RipperJohn the Ripper(http://www.openwall.com/john)是一个流行的口令破解工具,它支持Windows和Linux平台,是一个开源软件。如果我们想使用专门针对特定操作系统优化、并生成相应本地代码的商业版本的该产品,那么

2013-08-07 08:21:15 4475

转载 wordpress漏洞扫描工具使用(wpscan实战)

http://www.2cto.com/Article/201212/178631.htmlBT5 WPSCAN 工具使用首先看下Wpscan 工具目录 /pentest/web/wpscan首先安装终端类型apt-get install libcurl4-gnutls-devgem install –user-install typhoeusgem insta

2013-08-07 08:13:19 12772

转载 国内外比较知名的php开源cms系统

http://blog.163.com/amy0713@126/blog/static/137048537201153061445539/国内cms1.phpcms2.dedecms3.php1684.SupeSite5.帝国CMS6.KingCMS7.AKCMS8.08CMS9.MetInfo企业网站管理

2013-08-05 08:03:08 1533 1

转载 How to Hack a WordPress Site using SQL Injection

http://www.flippercode.com/how-to-hack-wordpress-site-using-sql-injectionFirst of all, My intention is not to teach someone how to hack sites of others and destroy others hardwork. This is g

2013-08-04 22:59:25 1350

转载 wpscan使用方法

http://vipscu.blog.163.com/blog/static/18180837220122139348819/WPScan 基本功能:Wordpress 版本检测和主题检测Wordpress 插件安全检测密码的暴力破解可以指定代理    源码获取地址:http://code.google.com/p/wpscan/source/checkout

2013-08-04 22:44:07 7000

转载 Install brutessh on CentOS 5.8

http://kezhong.wordpress.com/2012/10/30/install-brutessh-on-centos-5-8/For security reason, our NOC team should limit ssh access outside from our customers so as to prevent SSH brute force att

2013-08-04 22:27:31 1203

转载 Hydra使用方法

http://www.2cto.com/Article/201305/213232.html这个也是backtrack下面很受欢迎的一个工具参数详解:-R 根据上一次进度继续破解-S 使用SSL协议连接-s 指定端口-l 指定用户名-L 指定用户名字典(文件)-p 指定密码破解-P 指定密码字典(文件)-e 空密码探测和指定用户密码探测(

2013-08-04 22:04:53 2944

原创 Hack a website using FTP

先google:filetype:ini WS_FTP pwd打开其中一个搜索结果页面,查找"pwd="例如:HOST=unagi.cybernothing.orgUID=clvPWD=V8FE22660C54126D74ABAAF9E5C18CAAFA63976A997A9A7找到之后,到http://decipherskull.50megs.com/去破

2013-08-04 21:44:38 1347

转载 突破sql 注入过滤Union+SELECT 继续射下去

http://www.myhack58.com/Article/html/3/7/2011/31053.htm 前几今天遇到一个bt 的老外注射点:  //*ps 此点目前流行的注射工具射不 *//  http://cleopatra-sy.com/index.php?content=more_product&id=17    http://cleopatr

2013-08-04 17:57:41 10972 2

转载 关于突破SQL注入限制的新思路

http://www.bitscn.com/network/protect/200804/139215.html突然想我们是否可以用什么方法绕过SQL注入的限制呢?到网上考察了一下,提到的方法大多都是针对AND与“’”号和“=”号过滤的突破,虽然有点进步的地方,但还是有一些关键字没有绕过,由于我不常入侵网站所以也不敢对上述过滤的效果进行评论,但是可以肯定的是,效果不会很好…… 

2013-08-04 15:40:12 1713

转载 菜鸟也来学渗透——MySql暴库

http://www.2cto.com/Article/201305/212036.html暴库之前看看MySql这些版本的特性吧4.0以下不支持union查询4.0以上magic_quotes_gpc默认为on(magic_quotes_gpc=on当php.ini里的 magic_quotes_gpc 为On 时。提交的变量中所有的 ‘ (单引号), ” (双引

2013-08-04 14:10:31 3716

转载 sqlmap实例拿站

http://www.myhack58.com/Article/html/3/8/2012/35324.htm目标:http://www.djj.com/yz/cn/videodt.jsp?Videoid=10此URL为sa权限猪肉一块用穿山甲不能执行命令过程如下:通过访问http://www.djj .com/login.jsp得知该站由一

2013-08-03 14:46:12 21071 3

转载 菜鸟学习SQL注射

http://www.2cto.com/Article/200606/10340.html一般国内的小一点的新闻站点程序 都有 ""&request 这种漏洞,下面我讲解攻击方法在地址栏:and 1=1查看漏洞是否存在,如果存在就正常返回该页,如果没有,则显示错误,继续假设这个站的数据库存在一个admin表在地址栏:and 0返回页正常,假设

2013-08-03 14:32:38 838

转载 菜鸟SQL注入详解

http://www.2cto.com/Article/200410/757.html利用SQL进行添加,更改,查看记录。       当一台主机台开了80端口,当你手头没有任何黑客工具,那么,偶们有SQL。      他不需要你其他东东,只要一个浏览器就够了。HOHO,偶的文章菜菜,偶写这      篇文章只是为了让一些对SQL很陌生的菜菜们看的,老鸟绕道。。。

2013-08-03 14:31:24 1067

原创 mssql2000sp4 sql injection

Version:SELECT @@version;Microsoft SQL Server 2000 - 8.00.2039 (Intel X86) May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Evaluation Edition on Windows NT

2013-08-01 08:41:08 831

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除