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 - Live Wire

Pages: [1] 2 3 ... 9
1
Hacking and Security / Re: How to counter a "virus"?
« on: February 24, 2013, 12:01:45 pm »
counter? please explain

2
Scripting Languages / [Python] Form Field data hijacker for FF
« on: February 06, 2013, 10:30:48 pm »
So, I was watching a friend buy something, and noticed that everything in the fields was saved data. After some research, I discovered that Firefox stored data in sqlite databases, which could be read with python. So, after some research and programming, I created a program that connects to the database, dumps the data and writes it to a file. Take a look:

Code: [Select]
#!/usr/bin/python
'''
Form Field Jack for Firefox (currently only tested on Ubuntu)
v1.0 Feb 6, 2013
Authored by Live Wire
'''

import glob
import sqlite3 as sql

output = open("field_history_output.txt","w")
ffFormFields = "/home/drew/.mozilla/firefox/*.default/formhistory.sqlite"

def findFile(path):
    return glob.glob(path)

def main():
    fieldsSQL = findFile(ffFormFields)        #returns as array
    con = sql.connect(fieldsSQL[0])           
    cur = con.cursor()
    cur.execute("select * from moz_formhistory;")
    rawSQLData = cur.fetchall()
    strSQLData = str(rawSQLData)            #converts to string data
    output.write(strSQLData)            #writes to file

if __name__=="__main__":
    main()

This is one of my first actual programs in python, please let me know what you think! Also working on a parser for the output, sorry its kinda messy. Also working on porting it to windows systems, as this only works on Linux right now.  Next comes the cookies database, which is working, but still rough.

Any comments welcome!

3
Hacking and Security / Re: Website Defacement Question
« on: January 29, 2013, 10:42:51 am »
okay, thanks for the fast reply. yeah, it is a waste of time, but it just seemed kinda interesting. and since it is one of the most common forms of hacking, and im looking at a career in cyber warfare, just seemed logical to know some of the basic steps.

4
Hacking and Security / Website Defacement Question
« on: January 29, 2013, 09:22:58 am »
First off: I'm not going to use this to deface websites, just want some info.
 
I understand how to compromise sites, but how do you go from getting information to changing the page? Is it as easy as finding the admin account and going from there, or is there a better way? Only asking because the most recent Anon attacks have made me wonder. Thanks

5
General discussion / Re: ICCC virus
« on: December 31, 2012, 12:14:54 pm »
ransomeware lol. we should make hostageware while we're at it

6
C - C++ / Re: [C] matrix effect printing text
« on: December 21, 2012, 01:13:37 pm »
It's still garbage because it just print random chars in a line...

hmm. on my pc, it scrolls fast enough that i actually get columns. anyway, just found it on my comp, and felt like sharing.

7
C - C++ / Re: [C] matrix effect printing text
« on: December 21, 2012, 12:45:37 pm »
for matrix comment out all color but the first one, and set the value to like 100000000

8
C - C++ / Re: [C] matrix effect printing text
« on: December 21, 2012, 07:34:16 am »
Matrix Random Character Scrolling effect.
 
Code: [Select]

#include <iostream.h>
 
int main(){
    int input;
    int y = 0;
    char numbers[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890`~!@#$%^&*()-=_+";
    cout << "Please enter a number: ";
    cin >> input;
    system("color 2");
   
    for (int x=0;x<=input; x++){
        system("color 5");
        cout << numbers[rand() % 78] ;
        system("color 28");
        cout << " ";   
        system("color 5");   
        cout << numbers[rand() % 78] ;
        system("color 23");
        cout << "*";
        system("color 59");
        cout << numbers[rand() % 78] ;
        system("color 71");
        if (y%7 == 1){
                 cout << "\t";
                 system("color 18");
                 y = 4;
        }else{
                 y++;
                 system("color 61");
        }
    }
   
    system("color 7");
   
    return 0;
}

this should work, at least. Oh, the colors will rape your mind.  If you want just straight up green, comment all other system("color s") but the first one, it also goes a lot faster if you do this. DO NOT WATCH WHILE HIGH!!!! YOU WILL PROBABLY DIE.
 
 
 
But Kulver, yours is cool too :)

9
Found it on the Webs / Re: ?
« on: December 12, 2012, 08:04:31 am »
wtf? love how the first one on there is ande lol

10
Projects and Discussion / Re: rate this code
« on: December 10, 2012, 08:34:55 am »
Code: [Select]
import sys


def distFrmLeZero(foo):
    bar = ""
    try:
        #PHP wud need le triple = for diz nigga
        if (type(foo) == float) or (type(foo) == int):
            bar += "Yo dawg, yo numberz will equal somethim liek diz %d" % abs(foo)
        else:
            bar += "Yo dawg, pick a diff number yo.\n"
    except:
        print "Sompin evil happens yo."
        sys.exit()
    return bar

lol. i have a guy on my robotics team that codes like this.

11
C - C++ / Re: C++ program without main function
« on: December 10, 2012, 08:00:26 am »
You bypass crt0 which may include some stuff you don't want like it may set up memory in a way you don't want or something obscure like that.

ah, i got ya. couldnt you just respecify where you want your variables stored, then?

12
General discussion / Re: I'm back
« on: December 09, 2012, 06:58:47 pm »
Welcome back bro. Sounds like you got some serious karma points on the human trafficking job.

13
C - C++ / Re: C++ program without main function
« on: December 09, 2012, 06:21:16 pm »
What would the point of this experiment be? or is this just to see if it can be done. I'm no expert at c++, but i cant think of why i wouldn't want a main(), unless this is just for experimentation.

14
Hacking and Security / Re: wireless networks
« on: December 09, 2012, 06:12:27 pm »
if you find open ones, but still require you to pay for them, look into icmp tunnels. its what i use. hack-a-day has a good article on bypass captive portals.


http://hackaday.com/2009/08/21/tunneling-ip-traffic-over-icmp/

15
Java / Re: Java assignments
« on: December 06, 2012, 10:03:56 pm »
Congrats on your kid. If you ever want someone to give you lesson ideas, im your man. but it looks like you got that covered. will definitely try to incorporate into languages that need improvement (my python is kinda rusty)

Pages: [1] 2 3 ... 9