Login Register




The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.


Tutorial How to start Hacking. Part 1. filter_list
Author
Message
How to start Hacking. Part 1. #1
How to start hacking
A passive aggressive response to Auroras thread.

One of the most important features of hacking is code auditing, it is the process in which one picks apart someone else's code either to admire it or to find flaws in it. In order to audit code it is often nice to setup a good work environment. This is guide is aimed at Linux and thus I will not accommodate Windows although many of the commands I describe will be present on Apple computers (as they are UNIX based).

The most important tools I use are grep & vim. What do these commands perform? Well these are the official man descriptions:

Quote:GREP(1) GREP(1)

NAME
grep, egrep, fgrep, rgrep - print lines matching a pattern

SYNOPSIS
grep [OPTIONS] PATTERN [FILE...]
grep [OPTIONS] [-e PATTERN | -f FILE] [FILE...]

DESCRIPTION
grep searches the named input FILEs (or standard input if no files are
named, or if a single hyphen-minus (-) is given as file name) for lines
containing a match to the given PATTERN. By default, grep prints the
matching lines.

Quote:VIM(1) VIM(1)

NAME
vim - Vi IMproved, a programmers text editor

SYNOPSIS
vim [options] [file ..]
vim [options] -
vim [options] -t tag
vim [options] -q [errorfile]

ex
view
gvim gview evim eview
rvim rview rgvim rgview

DESCRIPTION
Vim is a text editor that is upwards compatible to Vi. It can be used
to edit all kinds of plain text. It is especially useful for editing
programs.

(Note: You can lookup (most) commands using the man command, the syntax being man <command>, if you are new to Linux whenever you encounter an odd command man it.)

To use vim at a basic level just use the following:

1. To open something use the command `vim` with the following syntax `vim <file>`
2. There are two main modes, INSERT and COMMAND (or something like that). To actually start editing a file press I (for insert) and to return to COMMAND mode (or whatever) press esc.
3. A : follows every command, for instance use :exit to exit and save, and :q! to exit and not save anything.

To use grep simply use the following syntax:
Code:
maus@honeypot:~$ grep Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. maus@honeypot:~$

You can also (ofcourse) pipe output to grep. For instance:
Code:
maus@honeypot:~$ cat /etc/passwd | grep $USER maus:x:1000:1000:maus,,,:/home/maus:/bin/bash maus@honeypot:~$

In the next part we will download some code and audit it in an efficient manner, then Ill post some links on exploit development (no I'm not going to rewrite a really over saturated subject).

Reply

RE: How to start Hacking. Part 1. #2
Also a decent thread. A bit more advanced for most beginners. I would only suggest explaining what piping output is, as that part is a tad confusing. You really only need to do it if you want your tutorial to be completely explained and detailed I guess.
Scientia potentia est

[Image: inkexplosion.jpg]

Reply

RE: How to start Hacking. Part 1. #3
(06-24-2014, 12:03 PM)DarkMuse Wrote: Also a decent thread. A bit more advanced for most beginners. I would only suggest explaining what piping output is, as that part is a tad confusing. You really only need to do it if you want your tutorial to be completely explained and detailed I guess.

Thanks for the heads up, Ill add that when cloudflare stops f**king up.

Reply

Re: RE: How to start Hacking. Part 1. #4
(06-24-2014, 12:10 PM)superMAUS Wrote: Thanks for the heads up, Ill add that when cloudflare stops f**king up.
Goodluck with that one. xD

Also, how the hell does your avatar change when being quoted? Das kewl.
(This post was last modified: 06-24-2014, 12:12 PM by DarkMuse.)
Scientia potentia est

[Image: inkexplosion.jpg]

Reply

RE: How to start Hacking. Part 1. #5
This may actually come out to be a useful tutorial.
#MakeSinisterlySexyAgain

Reply

RE: How to start Hacking. Part 1. #6
(06-24-2014, 02:13 PM)Adorapuff Wrote: This may actually come out to be a useful tutorial.

Thank you.

Reply

RE: How to start Hacking. Part 1. #7
Wow, one of the few that doesn't say learn SQLi and XSS. Nice post OP, hope to see more from you.
[Image: F4Z9Dqw.png]

Reply

RE: How to start Hacking. Part 1. #8
(06-25-2014, 09:53 AM)BreShiE Wrote: Wow, one of the few that doesn't say learn SQLi and XSS. Nice post OP, hope to see more from you.

Thanks m8

Reply

RE: How to start Hacking. Part 1. #9
pro-tip: nano > all. and instead of making separate threads for each tutorial, you should continue to add to this thread as you write it.
[Image: 383dbcbdd0eb954803ad9bc4f8934f82.png]

Reply

RE: How to start Hacking. Part 1. #10
(06-25-2014, 03:40 PM)misnar Wrote: pro-tip: nano > all. and instead of making separate threads for each tutorial, you should continue to add to this thread as you write it.

nano is nice but not as customizable.

yeah ill just update this.

Reply