Hacker WarRock :: [tuto] File pumper !
Hacker WarRock Forum Index
Hacker WarRock
Les meilleurs Hacks WarRock!!
 
Hacker WarRock Forum IndexFAQSearchRegisterLog in

:: [tuto] File pumper ! ::

 
Post new topic   Reply to topic    Hacker WarRock Forum Index -> Programmation -> Visual basic 2008
Previous topic :: Next topic  
Author Message
[Ṗяø] ◄Яɪɢнτ
Hacker Pro
Hacker Pro

Offline

Joined: 31 Jan 2010
Posts: 516
Système d'exploitation: Vista
Localisation: Vosges
Masculin Taureau (20avr-20mai)
LVL Warrock: lvl 34
Moyenne de points: 0.60

PostPosted: Tue 2 Nov 2010 - 06:53    Post subject: [tuto] File pumper ! Reply with quote



Outils:

1 TextBox
2 RadioButton <Kilobyte><Megabyte>
2 Button <Pump><...>
1 NumericUpDown <10>

Button1

Code :

Dim sfd As New SaveFileDialog
        sfd.Filter = \"Exe Files|*.exe\"
        sfd.ShowDialog()
        Dim filesize As Double = Val(NumericUpDown1.Value)
        IO.File.Copy(TextBox1.Text, sfd.FileName)
        If RadioButton1.Checked Then
            filesize = filesize * 1024
        End If
        If RadioButton2.Checked Then
            filesize = filesize * 1048576
        End If
        Dim filetopump = IO.File.OpenWrite(sfd.FileName)
        Dim size = filetopump.Seek(0, IO.SeekOrigin.[End])
        While size < filesize
            filetopump.WriteByte(0)
            size += 1
        End While
        filetopump.Close()
        MsgBox(\"Pumped!\")


Button2

Code :

Dim ofd As New OpenFileDialog
        ofd.Filter = \"Exe Files|*.exe\"
        ofd.ShowDialog()
        TextBox1.Text = ofd.FileName


PS: Le forum affiche / avec les guillemets vous devez les enlever


Back to top
Visit poster’s website
xToXxYkOzx
Membre Fidèle
Membre Fidèle

Offline

Joined: 17 Oct 2010
Posts: 132
Système d'exploitation: Seven
Localisation: Niort
Masculin Verseau (20jan-19fev)
LVL Warrock: lvl 12
Moyenne de points: 1.09

PostPosted: Sat 22 Oct 2011 - 19:40    Post subject: [tuto] File pumper ! Reply with quote

Sa sert à rendre un fichier plus volumineux ???
_________________
Si "Dieux" nous a crée, alors il serait fort en programmation. ('Owned')




ImageShack.us




Back to top
MSN Skype
Display posts from previous:   
Post new topic   Reply to topic    Hacker WarRock Forum Index -> Programmation -> Visual basic 2008 All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  

Index | Create a forum | Free support forum | Free forums directory | Report a violation | Conditions générales d'utilisation

© Hacker-WarRock © 2009 - 2012
Powered by WeWeWe13 & Himka