首页
社区
课程
招聘
16进制编程调用用API
发表于: 2005-11-4 17:28 4759

16进制编程调用用API

2005-11-4 17:28
4759
下面的代码直接根据网上一篇文章修改
调用URLDownloadToFile函数(URLMON.DLL)
直接实现网络下载
但不知道哪部分错了,一直报非法的win32程序
以下是去全部代码,因为没权限没法上传文件
不知道是否影响格式

00000000h: 4D 5A 00 00 62 79 20 72 6F 62 73 6C 6F 76 65 40 ; MZ..by robslove@
00000010h: 68 6F 74 6D 61 69 6C 2E 63 6F 6D 00 00 00 00 00 ; hotmail.com.....
00000020h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000030h: 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 ; ............@...
00000040h: 50 45 00 00 4C 01 02 00 00 00 00 00 00 00 00 00 ; PE..L...........
00000050h: 00 00 00 00 70 00 0F 01 0B 01 00 00 00 02 00 00 ; ....p...........
00000060h: 00 00 00 00 00 00 00 00 79 01 00 00 00 00 00 00 ; ........y.......
00000070h: 00 00 00 00 00 00 40 00 00 10 00 00 00 02 00 00 ; ......@.........
00000080h: 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ; ................
00000090h: 00 30 00 00 00 02 00 00 00 00 00 00 02 00 00 00 ; .0..............
000000a0h: 00 01 00 00 00 00 00 00 00 10 00 00 00 10 00 00 ; ................
000000b0h: 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 ; ................
000000c0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000000d0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000000e0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000000f0h: 00 00 00 00 00 00 00 00 28 01 00 00 28 00 00 00 ; ........(...(...
00000100h: 00 00 00 00 00 00 00 00 00 02 00 00 00 10 00 00 ; ................
00000110h: 00 02 00 00 00 01 00 00 00 00 00 00 00 00 00 00 ; ................
00000120h: 00 00 00 00 60 00 00 60 58 01 00 00 00 00 00 00 ; ....`..`X.......
00000130h: 00 00 00 00 6E 01 00 00 00 00 00 00 00 00 00 00 ; ....n...........
00000140h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000150h: 00 00 00 00 00 00 00 00 31 00 55 52 4C 44 6F 77 ; ........1.URLDow
00000160h: 6E 6C 6F 61 64 54 6F 46 69 6C 65 41 00 00 75 72 ; nloadToFileA..ur
00000170h: 6C 6D 6F 6E 2E 64 6C 6C 00 B8 01 00 00 00 6A 00 ; lmon.dll.?...j.
00000180h: 6A 00 68 C2 11 40 00 68 A0 11 40 00 6A 00 E8 02 ; j.h?@.h?@.j.?
00000190h: 00 00 00 C9 C3 FF 25 20 11 40 00 00 00 00 00 00 ; ...擅? .@......
000001a0h: 68 74 74 70 3A 2F 2F 77 77 77 2E 62 61 69 64 75 ; http://www.baidu
000001b0h: 2E 63 6F 6D 2F 69 6D 67 2F 6C 6F 67 2E 67 69 66 ; .com/img/log.gif
000001c0h: 00 00 63 3A 5C 5C 74 5C 74 2E 6A 70 67 00 00 00 ; ..c:\\t\t.jpg...
000001d0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000001e0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000001f0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................

[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
免费 0
支持
分享
最新回复 (5)
雪    币: 156
活跃值: (86)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
晕,等了2天,没高手帮忙看下吗?
2005-11-6 11:04
0
雪    币: 427
活跃值: (412)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
这个东西有很多源代码,找源代码自己做一个
2005-11-6 12:54
0
雪    币: 156
活跃值: (86)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
关键字是什么?
我怎么搜都搜不到啊
2005-11-6 21:41
0
雪    币: 229
活跃值: (70)
能力值: ( LV6,RANK:90 )
在线值:
发帖
回帖
粉丝
5
   汗! 为何要这样16进制改,反汇编后再来不好么?
2005-11-7 00:54
0
雪    币: 156
活跃值: (86)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
6
我试了下反汇编,多了很多没用的段
至少比这个多了3倍的体积
2005-11-7 09:51
0
游客
登录 | 注册 方可回帖
返回
//