Help where do I start with learning to Hack
#1
Posted 29 November 2009 - 12:47 AM
So I also discovered I will need the net. Which I have a separate computer of my own that isn't connected to the internet that I was going to use which again stuffed it all up completely. So I'm on facebook and I searched hacking and found a group (-haCking-) which brought me to here.
So yeah now I just need help and this looks like a good place to start because I can get actual answers from people and ask more questions etc. What I need is help in learning hacking on a windows xp computer without the net thankyou.
#2
Posted 30 November 2009 - 02:14 AM
Edited by Powermaniac7, 30 November 2009 - 02:18 AM.
#3
Posted 30 November 2009 - 03:14 AM
Linux is an OS (Operating System) just like windows, except it is opensource and WAY more awesome and stable than windows... Now just like windows you have to decide which one of the Linux versions are for you... There are plenty... Ubuntu and Kubuntu are widely regarded to be the best starting OS's for windows users, but having said that I feel that you don't really get the Linux experience like with OpenSuse etc.
But the best hacking Linux distro is BackTrack... So if you really want to start hacking download that
Then... Hacking is a good idea... It gets you to think differently from the normal computer user...
There is no one way we can tell you THIS IS HOW YOU HACK... It is not that simple... Every computer is different.
also, learning how to program will make your life very much easier in the world of hacking... Learn a language like C or C++... maybe even java... also learn a scripting language like python or perl... There are plenty of awesome tutorials online... one of them is: Teach yourself c++ in 21 days...
We hope you enjoy your stay at the forums...
#4
Posted 30 November 2009 - 05:00 AM
I've already kind of realized there is no one way to hack. The kinda hacking I like the idea of is probably websites/networks as in the whole idea of how that guy in England hacked into the Pentagon. Which I didn't even think was possible but he sure did prove me wrong and has kinda inspired me more.
Ok probably the noobiest thing I will ever say where can I actually download C++. I looked before and downloaded it but it seem to have messed up and be like adobe photo editor or something I don't know what happen.
Edited by Powermaniac7, 30 November 2009 - 05:26 AM.
#5
Posted 30 November 2009 - 08:04 AM
Installing Linux is usually very easy (and easier depending on the distro you are installing)... I know
that with Ubuntu, you start your system, go into windows, pop in the disk, tell it to install Ubuntu and
in no time at all, you have Linux on your machine...
Just choose the OS you want to start and off you go
no for the c++ part... on my website: www.lintwurm.co.za (yes, I am whoring out my website
a really simple tutorial on c++... Using windows to program isn't really a bad thing, but Linux was made
for that exact reason... so I trust it way more
When you have Linux installed, you can go to the Add Software and choose to install the compiler...
and then you program and compile and you will have a working program in no time...
For website hacking, start small... Look into SQL-injections ect...
I don't want to spoonfeed coz that is not how you learn...
For any type of hacking, the best advice is READ READ and READ untill your eyes bleed...
Let me know if you need more help
#6
Posted 30 November 2009 - 10:58 AM
Thankyou umm is there any possible way to have Linux on my computer without getting rid of my programs/games on windows and yes keeping windows also?
I've already kind of realized there is no one way to hack. The kinda hacking I like the idea of is probably websites/networks as in the whole idea of how that guy in England hacked into the Pentagon. Which I didn't even think was possible but he sure did prove me wrong and has kinda inspired me more.
Ok probably the noobiest thing I will ever say where can I actually download C++. I looked before and downloaded it but it seem to have messed up and be like adobe photo editor or something I don't know what happen.
1. Yes you can use Linux without wiping out Windows. It's called a Linux Live CD.
2. C++ is a programming language, not a program. You write code in programming languages to make programs. You can download a compiler, which turns the code into a program, like MingW for Windows. But downloading the programming language itself is like saying "I'd like to download English."
#7
Posted 30 November 2009 - 01:05 PM
Thankyou umm is there any possible way to have Linux on my computer without getting rid of my programs/games on windows and yes keeping windows also?
I've already kind of realized there is no one way to hack. The kinda hacking I like the idea of is probably websites/networks as in the whole idea of how that guy in England hacked into the Pentagon. Which I didn't even think was possible but he sure did prove me wrong and has kinda inspired me more.
Ok probably the noobiest thing I will ever say where can I actually download C++. I looked before and downloaded it but it seem to have messed up and be like adobe photo editor or something I don't know what happen.
yeah you can even install linux on your current windows harddrive without erasing ANYTHING on your windows partition with Ubuntu(provided you have enoguh space left on your harddrive to install linux without wiping out any of windows partition). It has a program called partitionmagic (or something like that) that gives an easy to use graphical interface that you just show how much space you want to allocate for windows on your hard drive and for linux.
booting from the live unbuntu CD will just load the O.S. (operating system) into your memory so you can't save any data etc. you can only use linux and its preloaded programs that way...youll hafta actually put the OS on your harddrive in order to do things with it like download and edit junk
bleh im probably not pointing out anything too helpful but if you want some inspiration here is what inspired me to try linux AND start hacking
check out aircrack-ng.org
this website has a LOT of documentation and it's not easy to figure out, but once you get it you'll be amazed at what hacking with someone else's programs can do.....then maybe some years down the road you'll have learned some computer languages and will be making your own programs
Edited by sojourner, 30 November 2009 - 01:06 PM.
#9
Posted 01 December 2009 - 02:39 AM
#10
Posted 01 December 2009 - 12:37 PM
Personally I'd look at getting the free C++ IDE Visual Studio.
I will only work on Windows, but if you new to both programming and Linux, visual studio might be a little easier to get your hands wet with the programming side of things.
Once installed, to create a new blank program, go File>New>Project>Visual C++>Win32>Win32 Console application. Give it a name, such as "Hello World" and click OK.
Then on the Welcome to the Win32 Application Wizard window, click Next. Under 'additional opotions' tick 'empty project', then click 'Finish'.
Now the IDe should open up. On the top left you should see a windows called the Solution Explorer. Right click on Source Files>add>New item.
Go Visual C++>C++ file(.cpp)>and give it the name main.cpp and then click Add.
That file should then be open in the main window of the IDE.
Enter the traditional Hello World program:
#include <iostream>
using namespace std;
void main()
{
cout << "Hello World!" << endl;
cin.get();
}
Once this code has been entered, click the little green right pointing arrow at the top of the visual studio IDE.
Then you will of ran your first program! yey.
#11
Posted 03 December 2009 - 06:38 AM
#12
Posted 03 December 2009 - 09:04 AM
Open any type of text editor... Like notepad for example in windows... and copy paste this there...
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello world"<<endl;
}
Save it as hello.cppnow open the command prompt and go to the right directory... Enter this:"g++ -c hello.cpp"
then:"g++ hello.o -o hello"
and then lastly "./hello"
and that should be your first program...
A quick recap... g++ is the compiler... if it says that it could not be found, install it...
#include <iostream> is the library that gives you access to input and output stuff in the command prompt...
using namespace std; can be left out, but this is the newer way of programming with c++... if you left it out, you could have made the program like this:
#include <iostream>
int main()
{
std::cout<<"Hello world";
}and it should have no difference...
int main() is where the program starts running... this is the first method that is called when your program runs...
the cout<<"Hello world"<<endl; part is just to say output the text to the command prompt...
I hope that gives you a better understanding of what you asked...
#13
Posted 03 December 2009 - 06:36 PM
ok...
Open any type of text editor... Like notepad for example in windows... and copy paste this there...#include <iostream> using namespace std; int main() { cout<<"Hello world"<<endl; }Save it as hello.cpp
now open the command prompt and go to the right directory... Enter this:"g++ -c hello.cpp"
then:"g++ hello.o -o hello"
and then lastly "./hello"
and that should be your first program...![]()
A quick recap... g++ is the compiler... if it says that it could not be found, install it...
#include <iostream> is the library that gives you access to input and output stuff in the command prompt...
using namespace std; can be left out, but this is the newer way of programming with c++... if you left it out, you could have made the program like this:#include <iostream> int main() { std::cout<<"Hello world"; }
and it should have no difference...
int main() is where the program starts running... this is the first method that is called when your program runs...
the cout<<"Hello world"<<endl; part is just to say output the text to the command prompt...
I hope that gives you a better understanding of what you asked...
on a fresh Ubuntu install, would he have to do a:
sudo apt-get install build-essential
to get gcc ready?
#14
Posted 03 December 2009 - 07:38 PM
#15
Posted 03 December 2009 - 08:06 PM
Wait, wait, wait if a can do it in windows why did I install Ubuntu? I thought that was the whole point install Ubuntu to use C++ in there?
Well now your able program and hack using both OSs!
You don't need any OS in particular to learn hacking or programming. You can do it using both, but hacking is primarily done using Linux. I recommended Visual Studio (for Windows) so you could get started with programming nice and quickly.
lintwurm and PurpleJesus explained how you can start programming using Ubuntu.
Your in a good situation now, and can learn both - Linux and programming.
sudo apt-get install build-essential
Yeah, I had to use that on 8.04LTS to install KDevelop, 8.04LTS also came with an older version of libtool (1.5) which was needed by KDevelop.
Edited by Swerve, 03 December 2009 - 08:15 PM.
#16
Posted 03 December 2009 - 08:41 PM
Edited by Powermaniac7, 03 December 2009 - 08:42 PM.
#17
Posted 03 December 2009 - 08:49 PM
In Ubuntu, the 'command prompt' is termed the 'terminal'.
The terminal can be found at Applications menu > Accessories > Terminal.
Then enter:
gedit main.cpp
gedit is like Notepad.
Now follow lintwurm's post.
See if it runs.
Edit - And no, you don't need the net to do any of this, if you don't have build essential I think it's on the CD.
Edited by Swerve, 03 December 2009 - 08:51 PM.
#18
Posted 03 December 2009 - 10:04 PM
Edited by Powermaniac7, 05 December 2009 - 12:54 AM.
#19
Posted 05 December 2009 - 12:56 AM
Ok it seems Ubuntu didn't install and burn correctly to the CD or my computer so now I am thinking stuff using the CD I'm going to install Ubuntu off of my USB drive. Hopefully this works because I'm getting to the point of giving up. Or does anyone recommend any other OS that are good for hacking/programming?
Edited by Powermaniac7, 05 December 2009 - 03:13 AM.
#20
Posted 05 December 2009 - 05:06 AM
But I still prefer the OpenSuse distro...
And just so I am clear, have you installed the ubuntu or are you running it as a live CD?
Coz I don't think you can install anything if you are running the live CD...
BinRev is hosted by the great people at Lunarpages!














