borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Returning an Error To the command line)Next Topic (Calling Functions Continuously Without Timer) New Topic New Poll Post Reply
AndreaVB Forum : API : Help on Building a "Yahoo! 5.5 Booter"
Poster Message
Afshin_Zavar
Level: Sage

Registered: 17-07-2003
Posts: 64

icon Help on Building a "Yahoo! 5.5 Booter"

  Hi all
I am going to design a "Yahoo! 5.5 booter"  for education purposes only.
Now I have some problems in API programming

1) do you know how can send some text to the other window  (like yahoo! bombers)?

2) suppose you have a new DLL file and you don't have any information about it. now how can you extarct all subs and function of it?

3) do you know how editors can find a letter or a word from a text file (like notepad) ?

4) do you know any API function that can HIDE "Start Menu"   and  "Notify Tray Icons " ?

5) how did you find out that Taskbar window name   is "Sell_trayWnd" ?

6) How can find out that mouse is on witch Window (API Spy)?

7) how can write a software that can open IE and run to a link or just execute a link like "ymsgr:SendIM?Afshin_Z"

8) can anybody teach me "PostMessage" API procedure?

9) how can find window handle knowing a PART of its caption

10) have you ever written  Yahoo Booter ?

Regards, Afshin     


[Edited by Afshin_Zavar on 29-07-2003 at 03:09 PM GMT]

[Edited by vbgen on 30-07-2003 at 12:25 AM GMT]

[Edited by vbgen on 30-07-2003 at 12:35 AM GMT]

____________________________
Persia

18-07-2003 at 06:41 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
steve_w
Level: Moderator


Registered: 18-04-2003
Posts: 1156
icon Re: Help ME

I can answer number 3.
To find text within a file, read the contents of the file into a string, then use the instr vb command

quote:

Syntax
InStr([Start, ]string1, string2[, compare])

The InStr yntax has these arguments:

Part Description
Start Optional. Numeric expression that sets the Starting position for each search. If omitted, search begins at the first character position. If Start contains Null, an error occurs. The Start argument is required if compare is specified.
string1 Required. String expression being searched.
string2 Required. String expression searched for.
compare Optional. Numeric value indicating the kind of comparison to use when evaluating substrings. See Settings section for values. If omitted, a binary comparison is performed.



Steve

[Edited by steve_w on 18-07-2003 at 12:59 PM GMT]

[Edited by vbgen on 30-07-2003 at 12:28 AM GMT]
18-07-2003 at 12:58 PM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: Can Someone help me please ?

Here is the answer to 4):
Hide START button

Option Explicit

Dim hTaskBar As Long ' TaskBar window handle
Dim hStart As Long ' START button window handle

Private Const SW_NORMAL = 1
Private Const SW_HIDE = 0

Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, _
ByVal lpWindowName As String) As Long

Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, _
ByVal hWnd2 As Long, ByVal lpsz1 As String,
ByVal lpsz2 As String) As Long

Private Declare Function ShowWindow Lib "user32" ( _
ByVal hwnd As Long, ByVal nCmdShow As Long) As Long

Private Sub Form_Load()
    ' Retrieve TaskBar window handle
    ' (searches top-level windows, not child windows)
    hTaskBar = FindWindow("Shell_TrayWnd", vbNullString)
    ' Retrieve Start button's window handle
    ' (searches child windows)
    hStart = FindWindowEx(hTaskBar, ByVal 0&, _
                                       "BUTTON", vbNullString)
    ' Hide Start Button
    ShowWindow hStart, SW_HIDE
End Sub

Private Sub Form_Unload(Cancel As Integer)
    ' Show the start button
    ShowWindow hStart, SW_NORMAL
End Sub

www.allapi.com  



[Edited by vbgen on 30-07-2003 at 12:31 AM GMT]

____________________________
If you find the answer helpful, please mark this topic as solved.

28-07-2003 at 12:56 AM
View Profile Send Email to User Show All Posts | Quote Reply
siddhs
Level: Professor

Registered: 02-03-2003
Posts: 92
icon Re: Can Someone help me please ?

Hi guys  
        Nice to see you all again.

well, my answer to your question number 6 is that ...

You can use the Getclassname API

That should help you ...

did it ?
Siddhs

____________________________
FireFox - Its Yours & Its Free
Here it is

45 Gmail Invities left ;) ....PM me to get one...

29-07-2003 at 10:24 AM
View Profile Send Email to User Show All Posts | Quote Reply
siddhs
Level: Professor

Registered: 02-03-2003
Posts: 92
icon Re: Can Someone help me please ?

Hi their again,
          I would like to give an advice over here...

The thing you are trying to learn postmessage will certainley crash your sys. you need to be very precise with what all you want and how it is to be executed.

I will try to work out and get back soon.

Cheers,
Siddhs

____________________________
FireFox - Its Yours & Its Free
Here it is

45 Gmail Invities left ;) ....PM me to get one...

29-07-2003 at 10:28 AM
View Profile Send Email to User Show All Posts | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1616
icon Re: Help on Building a "Yahoo! 5.5 Booter"

Without me searching in depth offhand... I think most of the questions have been answered somewhere in the forum in the past:

quote:

1) do you know how can send some text to the other window  (like yahoo! bombers)?


Search the board


quote:

2) suppose you have a new DLL file and you don't have any information about it. now how can you extarct all subs and function of it?


Contact the manufacturer, you need permission to use many dll's other than the standard Microsoft ones.


quote:

3) do you know how editors can find a letter or a word from a text file (like notepad) ?


Instr (easiest), or open the file and check each character bit by bit.


quote:

4) do you know any API function that can HIDE "Start Menu"   and  "Notify Tray Icons " ?


(Answer provided in thread)


quote:

5) how did you find out that Taskbar window name   is "Sell_trayWnd" ?


Microsoft's Webpage/help files


quote:

6) How can find out that mouse is on witch Window (API Spy)?


May be of help (take out space between / and Generating): http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/ Generating_MouseLeave_Events_for_a_Window/article.asp


quote:

7) how can write a software that can open IE and run to a link or just execute a link like "ymsgr:SendIM?Afshin_Z"



Private Declare Function ShellExecute Lib "shell32.dll" _
    Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal _
    lpOperation As String, ByVal lpFile As String, ByVal _
    lpParameters As String, ByVal lpDirectory As String, ByVal _
    nShowCmd As Long) As Long

Const SW_SHOWNORMAL = 1

Private Sub Form_Load()
    ShellExecute Me.hwnd, vbNullString, "ymsgr:SendIM?Afshin_Z", _
        vbNullString,  "", SW_SHOWNORMAL
End Sub



quote:

8) can anybody teach me "PostMessage" API procedure?


There's a LOT to the PostMessage... Search online. Depending on what you're doing, depends on how/what you pass.
(ex:http://www.andreavb.com/forum/viewtopic.php?TopicID=1046&page=0#3185)


quote:

9) how can find window handle knowing a PART of its caption


Search the board, answer's here somewhere (maybe even on www.andreavb.com)



[Edited by JLRodgers on 29-07-2003 at 02:35 PM GMT]

____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)
29-07-2003 at 08:26 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : API : Help on Building a "Yahoo! 5.5 Booter"
Previous Topic (Returning an Error To the command line)Next Topic (Calling Functions Continuously Without Timer) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder