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:

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.

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

im working on a project. Basically, for this online form, username is firstname.lastname and the password is lastname1234. What im trying to do is post to this website for the purpose of bruteforcing the password with an incrementing number. It's a basic website, selection bar and two fields. I have no problem with the non web part, but I am unsure of how to interact with a website. Tried google. nothing super useful. Most of the results were long strings of spaghetti code. Any thoughts from you guys? Thanks!

We declare the main method, of the int type. We then declare the variables we want to use in the program. Personally, I like to declare all of my vars upfront. Here we use an int (basically a simple number) and a bool (logic statement (true/false)).

This is a VERY important step! This is where we use the IO functions of C++. cout tells the program to print the specified text, and cin takes the inputed data, and stores it in the variable we already declared (int inNum;).

*the \n is used to make a new line. The // is used for comments, and not used in the actual program.

Okay, now we're moving into real programming. We used a for loop here. In a nutshell, I instructed the program to create a new variable (int i), and set its value to 1. Then, I told the program to keep running while i < inNum AND check is still true. After this, I could have created a number of other statements, but I only needed two. This is the real use of the for loop. Normally, it is used to declare, check, and increment a value. Since you can do all of this from a single statement, it is better for this than a while loop.

After that, we introduce the if/else statment. These take a statment, check if they are true, and execute the code depending on the outcome.

Next, I use the mod (%) sign. This is just returning the remainder of inNum / the current value of i. We then check to see if the remainder does not equal (!=) 0. This tells us that the number is not prime, so we can keep checking for higher values of i (i++ (adding 1 to the value of x) ). If we find that it ever DOES equal 0, it cannot be prime and we set the boolean logic variable check to false. This means that the loop can no longer continue, and we stop checking for values.

This is the basic programming logic statement. Rember we set check to false if the inputed number is not prime. In *MOST* programming, you will use = to assign a value, and == to compare something's value to another value.

Here, we look to see if check is false or true. If check is false, the number is not prime, and we report this to the user. If check is true, we tell the user. If a magnet was used to wipe a specifc point of your memory in the split second it took to check this, it outputs this to the user. Can't be to prepared, can you?

This really pissed me off, but I'm happy that this guy did the right thing. As a lifeguard myself, I couldn't imagine letting this happen. Just another sign of how fucked up America is. I think maybe this company needs a lesson........ lol . But seriously, what do you guys think?

Whats the deal with this? All you hear about in the news today is "phone hacking". But, after some research, I can't seem to find a real definition of what it actually is. Anyone have any information to clear up this point? Thanks.

So I've been working with Autoit for about an hour now, and its really easy to use. Fr those who don't know, its like the bastard child of C and java. But is there any way to just write to a file? The things I find online are either for writing to a .log file, or overwriting a file. I just need a command that adds a new line of text to a .txt file. Any thoughts? ( besides telling me to google it?)