自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(174)
  • 资源 (4)
  • 收藏
  • 关注

转载 常用脱壳方法

一、脱壳基础知识  1、脱壳的概念  在第三章中讲了加壳的概念,与加壳技术相对的就是脱壳技术了。脱壳就是将已经加壳的程序从壳中剥离出来。既然能给程序进行加壳,那也会有相应的脱壳方法。尽管理在有些壳很难脱掉,但是脱壳技术也在不断的进步,而且在不断竞争中发展状大。  2、OEP  OPE的意思就像它的名字一样容易理解。OEP就是原程序的入口点,也就是真正的入口点。  当被加壳的程序

2015-04-16 16:10:47 2291

转载 OD 常用断点

拦截窗口:bp CreateWindow 创建窗口bp CreateWindowEx(A) 创建窗口bp ShowWindow 显示窗口bp UpdateWindow 更新窗口bp GetWindowText(A) 获取窗口文本拦截消息框:bp MessageBox(A) 创建消息框bp MessageBoxExA 创建消息框bp MessageBoxIndir

2015-04-16 14:39:40 2685

原创 win32汇编:helloASM

.386;32位架构.model flat, stdcall;include masm32.incinclude kernel32.incincludelib masm32.libincludelib kernel32.lib.data;数据段 szText db "Hello ASM!", 0.code;代码段TestPrint proc near;过程声明

2015-04-07 22:41:34 1296

原创 android 反编译,逆向,注入LOG

反编译smali注入显示LOG的代码,备以后用:.class public Lnet/iaround/connector/DebugClass;.super Ljava/lang/Object;.source "DebugClass.java"# direct methods.method public constructor ()V .locals 0 .pro

2015-03-19 11:16:00 3207

转载 SHA1 C实现

#ifndef _SHA1_H_#define _SHA1_H_typedef struct SHA1Context{ unsigned Message_Digest[5]; unsigned Length_Low; unsigned Length_High; unsigned char Message_Block[64];

2015-01-22 18:34:32 972

原创 Java利用HttpClient进行网页登录

http://e.neusoft.edu.cn/nav_login模拟浏览器登录上面这个网站,登录服务器根据验证码、refer和cookie保护措施,验证码在html文件里。import java.io.BufferedReader;import java.io.IOException;import java.io.InputStream;import java.io.InputSt

2014-11-18 13:20:38 16628 3

原创 数独解法

//25...9.4.//4.71.3..6//8.34.759.//3.8.7..69//.1.3.24..//5.49.6.83//9.6.3.7.8//.3.6.8.1.//1.2.9.6.4struct node{ node(int r,int c):row(r),col(c) {} friend ostream& operator <<(ostr

2014-08-02 15:01:14 1377

转载 cocos2d-x环境搭建

1 下载eclipse     2 下载android sdk,配置sdk路径,添加环境变量3 安装adt4 下载android ndk,配置ndk路径5 下载cocos2dx 开发包注意 ndk8+ 不需要cygwin,可以省去N多下载的时间下面以HelloCpp 为例A 导入地址  D:\soft\cocos2d-x-2.1.5\samp

2014-07-20 12:07:13 1044

转载 Bitmap font工具使用

转载自:".fnt"是怎么产生的怎么用的...今天就将这个非常有用的位图处理工具,来回答上面的问题...1、下载地址:http://www.angelcode.com/products/bmfont/2、创建一个txt文件,然后输入你用到的文字这是我输入的内容(注意:保存的是有移动要用utf-8,可能这软件不支持别编码)3、认识B

2014-07-07 10:11:53 7925

原创 uva-839 Not so Mobile

Before being an ubiquous communications gadget, a mobile was just a structure made of strings and wires suspending colourfull things. This kind of mobile is usually found hanging over cradles of small

2013-07-06 20:19:49 1020

原创 uva-699 The Falling Leaves

Each year, fall in the North Central region is accompanied by the brilliant colors of the leaves on the trees, followed quickly by the falling leaves accumulating under the trees. If the same thing ha

2013-07-06 20:13:17 1547

原创 uva-712 S-Trees

A Strange Tree (S-tree) over the variable set  is a binary tree representing a Boolean function. Each path of the S-tree begins at the root node and consists of n+1 nodes. Each of the S-tree's nodes

2013-07-06 20:07:10 1414

原创 uva-297 Quadtrees

A quadtree is a representation format used to encode images. The fundamental idea behind the quadtree is that any image can be split into four quadrants. Each quadrant may again be split in four sub q

2013-07-06 20:01:03 1606

原创 uva-112 Tree Summing

BackgroundLISP was one of the earliest high-level programming languages and, with FORTRAN, is one of the oldest languages currently being used. Lists, which are the fundamental data structures in

2013-07-06 19:51:51 1335

原创 uva-548 Tree

You are to determine the value of the leaf node in a given binary tree that is the terminal node of a path of least value from the root of the binary tree to any leaf. The value of a path is the sum o

2013-07-04 19:13:39 1161

原创 uva-10050 Hartals

A social research organization has determined a simple set of parameters to simulate the behavior of the political parties of our country. One of the parameters is a positive integer h (called the

2013-07-04 15:58:08 1049

原创 uva-11234 Expressions

Arithmetic expressions are usually written with the operators in between the two operands (which is called infix notation). For example,(x+y)*(z-w) is an arithmetic expression in infix notation. Howev

2013-07-04 15:54:46 973

原创 uva-11111 Generalized Matrioshkas

Vladimir worked for years making matrioshkas, those nesting dolls that certainly represent truly Russian craft. A matrioshka is a doll that may be opened in two halves, so that one finds another doll

2013-07-04 15:44:47 1038

原创 uva-442 Matrix Chain Multiplication

Suppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E are matrices. Since matrix multiplication is associative, the order in which multiplications are performed is arbitrary. H

2013-07-04 15:36:42 1623

原创 uva-673 Parentheses Balance

Description   You are given a string consisting of parentheses () and []. A string of this type is said to be correct:(a)if it is the empty string(b)if A and B are correct, AB is corre

2013-07-04 15:26:41 1528

原创 uva-133 The Dole Queue

In a serious attempt to downsize (reduce) the dole queue, The New National Green Labour Rhinoceros Party has decided on the following strategy. Every day all dole applicants will be placed in a large

2013-07-04 15:19:14 3171

原创 HDU-4557 非诚勿扰

Problem Description  作为2013年699万应届毕业生中的一员,由于宏观经济的不景气,小明在毕业当天就华丽丽地失业了!  经历了千难万苦的求职过程,小明特别能理解毕业生的就业之难,所以,他现在准备创建一家专门针对IT人才的求职中介公司——非诚勿扰人力资源开发有限公司。  基于工作的需要,小明根据求职学生的简历描述为每人评定了一个综合能力值,能力值是一个小于等于20的

2013-06-28 12:32:34 2212

原创 HDU-1008 Elevator

Problem DescriptionThe highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevator will stop, in specified

2013-06-28 10:35:18 1226

转载 qt4.8编译MYSQL 驱动

http://qimo601.iteye.com/blog/16544291、首先:进入到自己相应的qt/src/plugins/sqldrivers/mysql 目录下 (我的目录为:C:\QT\4.8.0\src\plugins\sqldrivers\mysql),这个下面有两个文件mysql.pro,一个main.cpp还有一个README2、用文本编辑器打开该目录下的mysql.p

2013-05-24 09:18:02 1144 1

转载 linux 下使用Qt连接MySQL数据库

1.安装MySQL   Linux下完整的MySQL开发需要安装服务器端,如果安装客户端也没什么不好。直接在软件中心搜mysql,把client和server选上。   server在安装时会提示为root用户设置密码,设一个好了。   我使用的是mysql5.1版本,用户名密码存储在一个叫mysql的数据库里,只有管理员级别才能看到。   如果直接在终端中输入 m

2013-04-16 11:34:57 1295

原创 QTcpSocket QTcpServer 类的使用方法

SERVER.cppserver::server(QWidget *parent) : QDialog(parent){ setupUi(this); connect(this->startButton,SIGNAL(clicked()),this,SLOT(start())); connect(this->serverButton,SIGNAL(clicke

2013-04-16 09:38:36 6004

转载 Makefile的编写

文章转自出处:http://blog.csdn.net/liang13664759/article/details/1771246最近在学习Linux下的C编程,买了一本叫《Linux环境下的C编程指南》读到makefile就越看越迷糊,可能是我的理解能不行。            于是google到了以下这篇文章。通俗易懂。然后把它贴出来,方便学习。

2013-04-12 09:05:04 606

原创 汇编学习记录

显示一个字符串  Dseg segment  String db 'hello,girl$'  Dseg ends    Cseg segment    Assume ds:dseg,cs:cseg  Start:    Mov ax,dseg    Mov ds,ax    Lea dx,string    Mov ah,09h    Int

2013-04-07 18:17:54 1169

原创 C++ 大数类

#include#include#include#include#include#include#include#includeusing namespace std;class integer{ friend istream& operator>>(istream& is,integer&); friend ostream& ope

2013-04-06 15:54:30 3249 1

原创 Linux错误解决方法集

这里是linux遇到错误时解决错误方法:can not connect to X server: xhost +local:username

2013-04-01 17:21:54 855

原创 关于Qt中QNetworkAccessManager如何取代QHttp的问题

最近自学Qt,这部分网上讲得不是很清楚,应该是基本没有讲,所以我想分享点经验给大家关于 connect(manager,SIGNAL(finished(QNetworkReply*)),this,SLOT(httpFinished(QNetworkReply*)))的使用;首先有人要问,QNetworkAccessManager为什么能取代QHttp?QHttp中传输数据时能发送一个int

2013-03-30 10:32:31 5774

原创 C++特性之-多态样例

#include#includeusing namespace std;class fruit{public: virtual void how_to_eat()const=0; virtual void show_priority()const=0; fruit(string a,string b,double c); string name; str

2012-12-20 18:40:09 709

原创 QT登陆窗口代码

#include "dialog.h"#include "ui_dialog.h"#include "QtGui"#include "mysql/mysql.h"#include#include#includeusing namespace std;Dialog::Dialog(QWidget *parent) :QDialog(parent),ui(new Ui::Dialog

2012-12-09 16:05:28 1480

转载 Shell编程基础

本文作者:Leal授权许可:创作共享协议GNU自由文档许可证编辑人员:FireHare, Dbzhang800我们可以使用任意一种文字编辑器,比如gedit、kedit、emacs、vi等来编写shell脚本,它必须以如下行开始(必须放在文件的第一行): #!/bin/sh...注意:最好使用“!/bin/bash”而不是“!/bin/sh”,如果使用t

2012-11-07 17:55:41 433

原创 POJ 2255 Tree Recovery

DescriptionLittle Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees with capital letters in the nodes. This is an example of o

2012-10-31 17:25:46 1125 1

原创 vijos p1024 卡布列克圆舞曲

描述 Description  卡布列克是一位数学家,他在研究数字时发现:任意一个不是用完全相同数字组成的四位数,如果对它们的每位数字重新排序,组成一个较大的数和一个较小的数,然后用较大数减去较小数,差不够四位数时补零,类推下去,最后将变成一个固定的数:6174,这就是卡布列克常数。  例如:4321-1234=3087     8730-378=8352

2012-10-29 20:16:02 2243

原创 UVA 12293 Box Game

Description  Box Game There are two identical boxes. One of them contains n balls, while the other box contains one ball. Alice and Bob invented a game with the boxes and bal

2012-10-20 20:52:19 1482 1

原创 UVA 12291 Polyomino Composer

Description  Polyomino Composer A polyomino is a plane geometric figure formed by joining one or more equal squares edge to edge.- WikipediaGiven a large polyomino an

2012-10-20 20:36:59 1956 1

原创 HDU 1754 I Hate It

Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。 Input本题目包含多组测试,请处理到文件结束。在每个测试的第一行,有两个正整数 N 和 M (

2012-10-12 18:27:09 3826

原创 HDU 1166 敌兵布阵

DescriptionC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的一清二楚,每个工兵营地的人数都有可能发生变动,可能增加或减少若干人手,但这些都逃不过C国的监视。中央情报局

2012-10-11 23:30:14 1167

SneakyJoystick-Cocos2d-x 3.0rc0

之前无良的上传者上传的不好用,坑爹。。。这个才是正版

2014-08-03

SneakyJoystick for cocos2d-x 2.21

之前无良的上传者上传的不好用,坑爹。。。这个才是正版

2014-08-03

消灭星星 Qt 源代码

Qt 4.7的工程 和 android 手机 上消灭星星原理一样。QT 代码简短 易懂。

2013-11-03

最短路模板(详细注解)

可以做刷题的模板哦!!!可以好好理解哦

2012-07-26

空空如也

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

TA关注的人

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