Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    ken53406's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    In your moms slop hole :D
    Posts
    151
    Reputation
    9
    Thanks
    97
    My Mood
    Aggressive

    Exclamation [HELP]Virtual machine program

    Hey, I was wondering if i could make a program somewhat similar to vmWare. A virtual machine to run another O.S. in without actually formatting or anything.
    Kinda bored and i figured this would be a bad ass project. any help is greatly appreciated. Thanks
    troll says: FUK YO COUCH NIGGA!
    V
    [img]https://www.******************/forums/images/smilies/troll_run.gif[/img]


    My goals list:
    Legend:

    Complete - Incomplete -

    30 Posts: [] | 50 Posts: []
    70 Posts: [] | 100 Posts: []
    500 Posts: [] | 1,000 Posts: []
    Release a CA NA pub: [] | Release a CFNA Pub: []
    Pro C++ Coder: [] | Pro VB Coder: []
    [IMG]https://images.encyclopediadramatic*****m/images/5/57/Pedobear_a.gif[/IMG]

    Don't forget:

  2. #2
    Hawky1337's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    88
    Reputation
    11
    Thanks
    27
    My Mood
    Shocked
    Unless you are super bad-ass, no.

  3. #3
    ken53406's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    In your moms slop hole :D
    Posts
    151
    Reputation
    9
    Thanks
    97
    My Mood
    Aggressive
    What if i am super bad ass
    LOL i may as well take a crack at it
    troll says: FUK YO COUCH NIGGA!
    V
    [img]https://www.******************/forums/images/smilies/troll_run.gif[/img]


    My goals list:
    Legend:

    Complete - Incomplete -

    30 Posts: [] | 50 Posts: []
    70 Posts: [] | 100 Posts: []
    500 Posts: [] | 1,000 Posts: []
    Release a CA NA pub: [] | Release a CFNA Pub: []
    Pro C++ Coder: [] | Pro VB Coder: []
    [IMG]https://images.encyclopediadramatic*****m/images/5/57/Pedobear_a.gif[/IMG]

    Don't forget:

  4. #4
    cosconub's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in the programming section MPGH Cash: $90,000,000,000
    Posts
    372
    Reputation
    -4
    Thanks
    39
    My Mood
    Psychedelic
    i have a source that you may like when i get home it's a vm coded in vb.net

    my buddy from hackforms coded it you all know him as DeToX i know him as jordan

    A man is but the product of his thoughts what he thinks, he becomes.
    ~Mohandas Gandhi


    A Genius is nothing with out an idea, An idea is always an idea even without a genius.
    ~ Immortal

  5. #5
    ken53406's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    In your moms slop hole :D
    Posts
    151
    Reputation
    9
    Thanks
    97
    My Mood
    Aggressive
    Oh shit son! Post it up, or send me a PM/VM please and thank you
    troll says: FUK YO COUCH NIGGA!
    V
    [img]https://www.******************/forums/images/smilies/troll_run.gif[/img]


    My goals list:
    Legend:

    Complete - Incomplete -

    30 Posts: [] | 50 Posts: []
    70 Posts: [] | 100 Posts: []
    500 Posts: [] | 1,000 Posts: []
    Release a CA NA pub: [] | Release a CFNA Pub: []
    Pro C++ Coder: [] | Pro VB Coder: []
    [IMG]https://images.encyclopediadramatic*****m/images/5/57/Pedobear_a.gif[/IMG]

    Don't forget:

  6. #6
    cosconub's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in the programming section MPGH Cash: $90,000,000,000
    Posts
    372
    Reputation
    -4
    Thanks
    39
    My Mood
    Psychedelic
    i lost it but il have detox send it to me again

    edit: here is the code
    Code:
    Public Class VirtualFileSystem
    	''' <summary>
    	''' The virtual File System is created by DragonHunter
    	''' This is some hardcoded stuff so if you use it in ur own project
    	''' Or somewhere else the credits goes to DragonHunter
    	''' </summary>
    	Public Sub New()
    	End Sub
    
    	Public Directories As SortedList(Of String, VirtualDirectory)
    
    	Public Sub Initialize(VirtualizeFolder As String)
    		Me.Directories = New SortedList(Of String, VirtualDirectory)()
    
    		'Lets load the files into RAM
    		For Each file__1 As FileInfo In New DirectoryInfo(VirtualizeFolder).GetFiles("*.*", SearchOption.AllDirectories)
    			If Not Directories.ContainsKey(file__1.Directory.FullName) Then
    				Directories.Add(file__1.Directory.FullName, New VirtualDirectory())
    				Console.WriteLine("Virtualizing Directory: " + file__1.Directory.FullName)
    			End If
    
    			Directories(file__1.Directory.FullName).AddFile(New VirtualDirectory.VirtualFile(File.ReadAllBytes(file__1.FullName), File.ReadAllText(file__1.FullName), New FileInfo(file__1.FullName)), file__1.Name)
    		Next
    
    		Dim count As Integer = 0
    		For Each vDir As VirtualDirectory In Directories.Values
    			count += vDir.GetFiles().Length
    		Next
    		Console.WriteLine("Total virtualized files: " & count)
    	End Sub
    
    	Public Sub DeleteDirectory(DirectoryName As String)
    		If Directories.ContainsKey(DirectoryName) Then
    			Directories.Remove(DirectoryName)
    		End If
    	End Sub
    
    	Public Class VirtualDirectory
    		Private _files As SortedList(Of String, VirtualFile)
    
    		Public Sub New()
    			Me._files = New SortedList(Of String, VirtualFile)()
    		End Sub
    
    		Public Sub AddFile(VFile As VirtualFile, FileName As String)
    			If Not _files.ContainsKey(FileName) Then
    				_files.Add(FileName, VFile)
    			End If
    		End Sub
    
    		Public Function GetFiles() As VirtualFile()
    			Dim files As New List(Of VirtualFile)()
    			For i As Integer = 0 To _files.Count - 1
    				files.Add(_files.Values(i))
    			Next
    			Return files.ToArray()
    		End Function
    
    		Public Function GetFile(FileName As String) As VirtualFile
    			If _files.ContainsKey(FileName) Then
    				Return _files(FileName)
    			End If
    			Return Nothing
    		End Function
    
    		Public Sub Copy(sourceFileName As String, destFileName As String, overwrite As Boolean)
    			If Not _files.ContainsKey(sourceFileName) Then
    				Throw New FileNotFoundException("File not found", sourceFileName)
    			End If
    			If Not overwrite AndAlso _files.ContainsKey(destFileName) Then
    				Throw New IOException("Could not overwrite existing file")
    			End If
    			If sourceFileName = destFileName Then
    				Throw New Exception("File already exists")
    			End If
    
    			_files.Add(destFileName, _files(sourceFileName))
    		End Sub
    
    		Public Sub Create(fileName As String, file As VirtualFile)
    			If _files.ContainsKey(fileName) Then
    				Throw New Exception("File already exists")
    			End If
    			_files.Add(fileName, file)
    		End Sub
    
    		Public Class VirtualFile
    			Private FileBytes As Byte()
    			Private FileStrings As String
    			Public Fileinfo As FileInfo
    
    			Public Sub New(FileBytes As Byte(), FileStrings As String, Fileinfo As FileInfo)
    				Me.FileBytes = FileBytes
    				Me.FileStrings = FileStrings
    				Me.Fileinfo = Fileinfo
    			End Sub
    
    			Public Sub WriteAllBytes(bytes As Byte(), offset As Integer)
    				Dim ms As New MemoryStream(FileBytes)
    				ms.Write(bytes, offset, bytes.Length)
    				FileBytes = ms.ToArray()
    			End Sub
    
    			Public Sub WriteAllText(contens As String)
    				FileStrings += contens
    			End Sub
    
    			Public Function ReadAllBytes() As Byte()
    				Return FileBytes
    			End Function
    
    			Public Function ReadAllText() As String
    				Return FileStrings
    			End Function
    
    			Public Function MemoryStreamBytes() As MemoryStream
    				Return New MemoryStream(FileBytes)
    			End Function
    		End Class
    	End Class
    End Class
    Last edited by cosconub; 01-04-2011 at 02:16 PM.

    A man is but the product of his thoughts what he thinks, he becomes.
    ~Mohandas Gandhi


    A Genius is nothing with out an idea, An idea is always an idea even without a genius.
    ~ Immortal

  7. The Following 2 Users Say Thank You to cosconub For This Useful Post:

    ken53406 (01-05-2011),topblast (01-04-2011)

  8. #7
    ken53406's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    In your moms slop hole :D
    Posts
    151
    Reputation
    9
    Thanks
    97
    My Mood
    Aggressive
    I LOVE YOU!!!! no homo... thanks ill try it out and post the results
    troll says: FUK YO COUCH NIGGA!
    V
    [img]https://www.******************/forums/images/smilies/troll_run.gif[/img]


    My goals list:
    Legend:

    Complete - Incomplete -

    30 Posts: [] | 50 Posts: []
    70 Posts: [] | 100 Posts: []
    500 Posts: [] | 1,000 Posts: []
    Release a CA NA pub: [] | Release a CFNA Pub: []
    Pro C++ Coder: [] | Pro VB Coder: []
    [IMG]https://images.encyclopediadramatic*****m/images/5/57/Pedobear_a.gif[/IMG]

    Don't forget:

  9. #8
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,133
    My Mood
    Dead
    Quote Originally Posted by Hawky1337 View Post
    Unless you are super bad-ass, no.
    He is not asking for making a new OS lol. Making a VM is easy !!

  10. #9
    cosconub's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in the programming section MPGH Cash: $90,000,000,000
    Posts
    372
    Reputation
    -4
    Thanks
    39
    My Mood
    Psychedelic
    i love you to... and making a real os isnt that hard. just a ton of code and alot of time

    i have over 300k lines of code so far and the os will bootup and have users.

    A man is but the product of his thoughts what he thinks, he becomes.
    ~Mohandas Gandhi


    A Genius is nothing with out an idea, An idea is always an idea even without a genius.
    ~ Immortal

  11. #10
    Hawky1337's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    88
    Reputation
    11
    Thanks
    27
    My Mood
    Shocked
    Quote Originally Posted by cosconub View Post
    i love you to... and making a real os isnt that hard. just a ton of code and alot of time

    i have over 300k lines of code so far and the os will bootup and have users.
    1st line: LOLD so bad

    2nd line: how many lines of code did you code yourself? 5?
    Last edited by Hawky1337; 01-05-2011 at 11:56 AM.

  12. #11
    cosconub's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in the programming section MPGH Cash: $90,000,000,000
    Posts
    372
    Reputation
    -4
    Thanks
    39
    My Mood
    Psychedelic
    i coded all 300k bubb lol

    =)

    A man is but the product of his thoughts what he thinks, he becomes.
    ~Mohandas Gandhi


    A Genius is nothing with out an idea, An idea is always an idea even without a genius.
    ~ Immortal

  13. #12
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,669
    My Mood
    Breezy
    Quote Originally Posted by cosconub View Post
    i coded all 300k bubb lol

    =)
    Proof or gtfo
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  14. #13
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    @ coscon ---> sorry agree master131, I would like to see some proof as well, at this point a video is the only accepted proof. I'm not saying it's impossible, but deff. improbable, so provide proof or let's end the discussion of it.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  15. #14
    cosconub's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in the programming section MPGH Cash: $90,000,000,000
    Posts
    372
    Reputation
    -4
    Thanks
    39
    My Mood
    Psychedelic
    mmk, i will get around to it and /request close

    A man is but the product of his thoughts what he thinks, he becomes.
    ~Mohandas Gandhi


    A Genius is nothing with out an idea, An idea is always an idea even without a genius.
    ~ Immortal

  16. #15
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    Only OP can request close.

  17. The Following 3 Users Say Thank You to Lolland For This Useful Post:

    ken53406 (01-06-2011),[MPGH]master131 (01-05-2011),NextGen1 (01-05-2011)

Page 1 of 2 12 LastLast