Jump to content

Blocking GUI Movement escaping ur app

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
MXTECH

MXTECH

    Learning Programmer

  • Members
  • PipPipPip
  • 47 posts
Hey peoples this is my first post, this is how u well make a virus basicly haha
but for all purposes we'll make a simple app to show a message and the user has to read the message and only then can they escape the app, unless they use tastmanager but if u wanna make a virus then put a timer in and block the taskmanger app and presto! they are screwed ha ha it ever blocks ALT-F4 combo's enjoy!

First add a text box (txt_enter)
Add a Richtextbox (rtb_read)
Add a Button (btn_go)

now this is in VB-Studio 2008 so waht you want it to is
put a random wods in the richtextbox and put in there
"this is the password to leave" and then under the txt_enter
is where they have to put that word.

other code u need to do:
-set your main form to maximise on start.
-disabled maximise and minimise buttions on GUI.
-Set Form1.topmost =true 'to make it the top screen

so the code for button is:
-----------------------------------------------------------------------
Private Sub btn_go_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_go.Click
If txt_enter.Text = "Word" Then
End
Else
MsgBox("Nope that ain't it buddy")
End If
End Sub
-----------------------------------------------------------------------
Now you need to external code files named (included in .zip and .rar demos)
-FormImmobiliser.vb
-SystemMenuManager.vb
these files make the following code effective.

add this code to the main form:
-----------------------------------------------------------------------
Private myMenuManager As New SystemMenuManager(Me, False,SystemMenuManager.MenuItemState.Greyed)
Private immobiliser As New FormImmobiliser(Me)
------------------------------------------------------------------------
now run it and your app is indistructable!
enjoy.

Jared Woodruff
<i>Stinger Software Systems Lead Designer</i>

Attached Files



#2
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Uh huh, but it could be formatted better. For example, wrap code around HIGHLIGHT tags, like so:

[ highlight=VB] MessageBox.Show("Hello World") [/HIGHLIGHT]

It looks like this:


[HIGHLIGHT=VB]MessageBox.Show("Hello World")[/HIGHLIGHT]
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#3
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
What the ****? That has nothing to do with being a virus. In order for something to be a virus, it has to have an infector. Not allowing someone to get out of a window or some **** like that is just some stupid basic malware.

My Edit... Also there are much more elegant ways of going about blocking user input such as BlockInput() and EnableWindow(). Might want to check those out...

Edited by MeTh0Dz, 29 June 2008 - 11:45 AM.


#4
Deathcry

Deathcry

    Learning Programmer

  • Members
  • PipPipPip
  • 68 posts

MXTECH said:

Hey peoples this is my first post, this is how u well make a virus basicly haha
but for all purposes we'll make a simple app to show a message and the user has to read the message and only then can they escape the app, unless they use tastmanager but if u wanna make a virus then put a timer in and block the taskmanger app and presto! they are screwed ha ha it ever blocks ALT-F4 combo's enjoy!
....

haha i remember making prank programs when i first started prorgramming. thanks for the contribution but try to make the code look better as others have said before me. horrible to follow.
the code is with you