Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - 3vilp4wn

Pages: [1] 2 3
1
Operating System / Re: Linux wireless issues.
« on: June 02, 2013, 01:39:45 am »
Double post because I want to bump it.

Here's the result of install.sh as root:
Pastebin, since it's so huge...

Make *runs* this time, so it's a start  :-\

2
Operating System / Re: Linux wireless issues.
« on: June 01, 2013, 09:05:16 am »
Yes and before even thinking about messing with driver installs etc... update!
Make sure you have the latest kernel.
Ive seen so many people try messing around with drivers only to find out something was already fixed.

The plan is a fresh install of 7.0 Wheezy then do my driver shit if I need to.

Sure you must be able to plug it into ethernet somewhere?
I don't have a cable long enough  :( I could buy one, but I'd prefer not.
I could move my computer, but again, moving it sucks, and is a last resort.

3
Operating System / Re: Linux wireless issues.
« on: June 01, 2013, 08:44:55 am »
Never done it this way but here you can search for packets and it lists the dependencies too.

http://www.debian.org/distrib/packages#view

make for example:
http://packages.debian.org/search?keywords=make&searchon=names&suite=stable&section=all

At the bottom of the page you can download the make debian package for different platforms. When you try to install it with dpkg -i package.deb it will tell you if you have all required packages installed.


I've done that a couple of times before, but last time I checked make had a shit ton of dependencies.  Looks simple enough now though so, I'll try it  :)

4
Operating System / Re: Linux wireless issues.
« on: June 01, 2013, 05:35:37 am »
apt-get install make ?? Maybe you are missing some more dependencies. Just try it and install whats missing. Maybe you need to edit /etc/apt/sources.list. I think you will need at least build-essential and gcc.. but I am not sure about it. Keep trying :)

Erm, the issue with apt-get install make is that I don't have internet.
Is there any way that apt-get could tell me the url's I need to use (including dependencies)?

Thanks,
3vilp4wn

5
Operating System / Re: Linux wireless issues.
« on: May 31, 2013, 07:26:05 am »
I'm using this driver atm.

Since ubuntu is debian, try this?

http://askubuntu.com/questions/123937/rtl8188cus-wireless-usb-dongle-doesnt-work-unless-i-disable-wireless-security


I attempted to use those drivers once, but the install.sh didn't work.  It gave an error about not having make installed.
If you think you could help me with that, I can post the output of install.sh

Thanks,
3vilp4wn

6
Operating System / Re: Linux wireless issues.
« on: May 31, 2013, 05:11:01 am »
Is that really your WEP key?
No, but I replaced it with my WEP key when I executed the command.   :P

7
Operating System / Re: Linux wireless issues.
« on: May 31, 2013, 04:45:05 am »
Have you tried connecting via iwconfig?

Now I have, and still no luck  :(
Here's what I did:
Code: [Select]
iwconfig wlan0 mode managed key 0123456789
iwconfig wlan0 essid "2WIRE123"
dhclient wlan0

8
Operating System / Re: Linux wireless issues.
« on: May 31, 2013, 03:14:45 am »
Have you tried connecting via iwconfig?

I have not.  How would I go about that?

9
Looking at things other people have posted, here's an updated version:

Code: [Select]
import sys, getpass, ctypes

fail = True
failcount = 0

while fail:
    try:
        if failcount == 3:
            user32 = ctypes.cdll.LoadLibrary("user32.dll")
            user32.LockWorkStation()

        passwd = getpass.getpass("Enter password: \n")

        if passwd == 'foobar':
            print 'Password accepted.'
            fail = False
        else:
            failcount = failcount + 1
    except:
        pass

In the interest of making this even more windows only, it uses user32.dll to lock the computer after 3 failed password attempts.  Good security would be one failed attempt, but whatever.

I couldn't get the signal module to work, so I just used a giant try/except block.

10
Operating System / Re: Linux wireless issues.
« on: May 31, 2013, 12:56:14 am »
Here ya go:

Code: [Select]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0846:9041 NetGear, Inc. WNA1000M 802.11bgn [Realtek RTL8188CUS]
Bus 003 Device 002: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 001 Device 004: ID 1e3d:2093 Chipsbank Microelectronics Co., Ltd

11
Hacking and Security / Re: Most embarrasing hack you've ever done?
« on: May 30, 2013, 10:31:07 pm »
I was working on a school computer when I noticed that they had "C:\Documents and Settings\All Users\Program Files\Startup" world writable.  I made a VBScript to have a popup that said "Big Brother is watching...", and left it there for a while.

3 days later, the Comp. Sci. teacher walks up to me and is like "I ws working on that computer over there the other day, and a message box popped up saying something like 'Big Brother is watching you...'  Do you know anything about that?"  At this point, I'm like the only kid in school that would know enough about computers to do that (Kinda sad, if you think about it.), so she basically knows I did it.  I'm like "Oh, yeah, I put that there."  She asked me to take it off, so I did.

I'd forgotten that I put the same script on like 3 other computers...
The next day I was like, Oh hit, I gotta get those off before anyone sees them.  Nothing came out of it, but I was so panicked that day  :P

Anyways, not so much embarrasing, but whatev.

Back when I was a n00b, like two years ago in sophmore year, I launched a DOS attack on my schools website.
Huh, I should try that sometime!  (not)


12
Operating System / Linux wireless issues.
« on: May 30, 2013, 10:02:04 pm »
Hello!

I've been going through hell with linux wireless.  I have a 2wire router that I want to connect to via my WNA1000M wireless dongle.  I'm using Debian 7.0 Wheezy.

I got the WNA1000M set up so that it can see the 2wire, but when I try to connect, it keeps asking for the key (WEP) over and over.

Any ideas on what I should do?

Thanks,
3vilp4wn.

13
Scripting Languages / password protect terminal in python+windows
« on: May 26, 2013, 10:49:37 pm »
Hello!
I just password protected my terminal in python+windows, and someone asked how I did it on irc, so I figured I'd post it here.

Step 1: make the python script:
somefile.py
Code: [Select]
import time
passwd = raw_input('C:\Documents and Settings\yourname>')  #you can have it ask for a password as well, but I prefer this.

if passwd == 'somepassword':
    print 'password accepted.  Welcome, hacker.'
else:
    print 'Fuck off, n00b.'
    print 'You have been locked out of this terminal.'
    time.sleep(42)
    print "Jesus, just *fuck off*, ok?"
    time.sleep(42)
    print "Still waiting?"
    time.sleep(42)
    print "'Cause, I'm not gonna let you get at the terminal."
    while True:
        time.sleep(42)

Step 2: create the batch file that will run the python file.  it's just one line:
somefile.bat
Code: [Select]
python C:\path\to\password\program.py
step 3: set the batch file to run when the terminal is started up.
open the run menu.  Windows key+R or start -> run
type "regedit"
Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor in the side bar.  right click and edit the "Autorun" property.
Type in the path to the batch file from step 2.


Now open the command prompt!
it should look normal, but if you don't type in the right password,  it gets mad at you  :)
Note that removing python from the classpath or pressing ctrl+C will bypass this, but it's useful for weeding out the skids.

14
Java / Re: [Java snippet] CLI animated progress bar
« on: May 20, 2013, 01:44:03 am »
Alright, here's a non-crappy version  :) :


Code: [Select]
import sys
from threading import Thread
import time


class progressbar(Thread):
    def __init__(self, steps=50, beginbar='[', endbar=']', bartype='=', notbartype=' '):
        self.stopping = False
        self.prog = 1
        self.steps = steps
        self.beginbar = beginbar
        self.endbar = endbar
        self.bartype = bartype
        self.notbartype = notbartype
        Thread.__init__(self)
       
    def run(self):
        while not self.stopping:
            sys.stdout.write('')
            progtext = ''
            for i in range(1, self.prog):
                progtext = progtext + self.bartype[i % len(self.bartype)]
            for i in range(len(progtext)+1, self.steps-1):
                progtext = progtext + self.notbartype[i % len(self.notbartype)]
            sys.stdout.write('\r' + self.beginbar + progtext + self.endbar)
            sys.stdout.flush()
            time.sleep(0.5)
           
    def stop(self):
        self.stopping = True
        print ''

    def setprog(self, progto):
        self.prog = progto


pbar = progressbar(50)
pbar.start()
for progress in range(1, 50):
    time.sleep(1) #Working...
    pbar.setprog(pbar.prog+1) #Make the progress bar bigger.
pbar.stop()

15
Web Oriented Coding / Re: How to Develop a Web Browser
« on: May 19, 2013, 08:28:25 pm »
I made one in python once, but used WebKit.  I can give you the source if you want.
I think UDACITY has a (free) course that involves a web browser, but uses python as well.  I've never taken it though, so I don't know if it's good.
Good luck.

Pages: [1] 2 3