[email protected]
gray hat freelancing logo
21 01, 2022

Reverse Shells

2022-01-24T13:54:24-05:00January 21st, 2022|Categories: Hacking|Tags: , , , , , , , , , , , |

I used to keep these sprawled out across several blog posts. But, I’ve decided to scrap that whole approach and create a “reverse shell generator”. In the future, this post will either contain that generator or it will contain a link to it at the bottom. Anyway, while I work on that, here are all of the old ones that I had previously posted on the website for your convenience.

For the most part, you’d use these by setting up a netcat-style listener on your machine (or a machine you control), replace “your-ip” with the IP address of the machine you want to connect out to and “your-port” with the port you’ve chosen to listen on.

Copy to Clipboard

Python

Copy to Clipboard

Perl

Making use of the /bin/sh binary:

Copy to Clipboard

Without a binary:

Copy to Clipboard

Another one without a binary:

Copy to Clipboard

PHP

Copy to Clipboard

Ruby

Copy to Clipboard

Java

Copy to Clipboard

BASH

Copy to Clipboard

Netcat

Netcat binaries that support ‘-e’

Copy to Clipboard
Copy to Clipboard

Netcat binaries without support for ‘-e’

Copy to Clipboard

Telnet

Using a file socket:

Copy to Clipboard

Using a “pipe”:

Copy to Clipboard

Xterm

Copy to Clipboard
29 12, 2021

Advent of Cyber (2019) – TryHackMe – Day17

2021-12-29T16:55:36-05:00December 29th, 2021|Categories: CTF Walkthroughs|Tags: , , , , , |

[Day 17] Hydra-ha-ha-haa

This room is just usingt the hydra tool to brute force a web form and then SSH. Reading the description informs you that the once popular rockyou.txt wordlist is recommended (advise you follow those kinds of tips).

(more…)

Go to Top