Hacking Articles Tips Tricks Videos Tutorials
468 subscribers
65.8K photos
15 videos
157 files
132K links
Exploit
Pentesting
Hacking
Red Team
Blue Team
Kali Linux
Bug Bounty
Black Hat
Cyber security etc

@Hacking_Video
@Hacking_attack
Download Telegram
Command line options
positional arguments:
PORT Port to listen/connect to depending on -i/-c options. Default: 4444

Reverse or Bind shell?:
-i , --address IP Address or Interface to listen on. Default: 0.0.0.0
-c , --connect Bind shell Host

Hints:
-a, --hints Show sample payloads for reverse shell based on the registered listeners
-l, --interfaces Show the available network interfaces
-h, --help show this help message and exit

Verbosity:
-Q, --silent Show only errors and warnings
-X, --extra-silent Suppress all logging messages

Logging:
-L, --no-log Do not create session log files
-T, --no-timestamps Do not include timestamps on logs

Misc:
-H, --no-history Disable shell history on target
-P, --plain Just land to the menu
-S, --single-session Accommodate only the first created session
-C, --no-attach Disable auto attaching sessions upon creation
-U, --no-upgrade Do not upgrade shells

Debug:
-d, --debug Show debug messages
-NP, --no-python Simulate python absence on target
-NB, --no-bash Simulate bash absence on target

Menu options
, interact with that session interact [sessionID] Interact with a session kill [sessionID|all] Kill a session download ... Download files and folders from the target open ... Download files and folders from the target and open them locally upload ... Upload files and folders to the target. If URL is specified then it is downloaded locally and then uploaded to the target recon [sessionID] Upload preset reconnaissance scripts to the target spawn [sessionID] Spawn a new session. Whether it will be reverse or bind, depends on the current session. upgrade [sessionID] Upgrade the session's shell to "PTY". If it fails attempts to upgrade it to "Advanced". If this fail too, then falls back to "Basic" shell. dir|. [sessionID] Open the session's local folder. If no session is selected, opens the base folder. listeners [ ] Add or stop a Listener. When invoked without parameters, it shows the active Listeners. connect Connect to a bind shell hints Show sample commands to run on the targets to get reverse shell, based on the registered listeners reset Reset the local terminal history Show menu history help [command] Show menu help or help about specific command DEBUG Open debug console SET [ ] Set options. When invoked without parameters it shows current options exit|quit|q|Ctrl+D Exit penelope ">use [sessionID|none]
Select a session

sessions [sessionID]
Show active sessions. When followed by , interact with that
session

interact [sessionID]
Interact with a session

kill [sessionID|all]
Kill a session

download ...
Download files and folders from the target

open ...
Download files and folders from the target and open them locally

upload ...
Upload files and folders to the target. If URL is specified then it is
downloaded locally and then uploaded to the target

recon [sessionID]
Upload preset reconnaissance scripts to the target

spawn [sessionID]
Spawn a new session. Whether it will be reverse or bind, depends on
the current session.

upgrade [sessionID]
Upgrade the session's shell to "PTY". If it fails attempts to upgrade
it to "Advanced". If this fail too, then falls back to "Basic" shell.

dir|. [sessionID]
Open the session's local folder. If no session is selected, opens the
base folder.

listeners [ ]
Add or stop a Listener. When invoked without parameters, it shows the
active Listeners.

connect
Connect to a bind shell

hints
Show sample commands to run on the targets to get reverse shell, based
on the registered listeners

reset
Reset the local terminal

history
Show menu history

help [command]
Show menu help or help about specific command

DEBUG
Open debug console

SET [ ]

___________________________
@hacking_Attack
@Hacking_Video
Set options. When invoked without parameters it shows current options

exit|quit|q|Ctrl+D
Exit penelope

Extras
There are also included two sample exploit simulation (https://www.kitploit.com/search/label/Simulation) scripts to demonstrate how penelope can be imported and get shell on the same terminal. Furthermore, one bash script is included that automatically upgrades Unix shells to PTY using xdotool.
TODO

Features
currently download/upload/spawn/upgrade commands are supported only on Unix shells. Will implement those commands for Windows shells too.port forwardingpersistenceedit command: open the remote file locally, make changes and upon saving, upload it to targetability to specify a list of commands to run automatically on target and/or the main menuan option switch for disable all logging, not only sessions.execute a local script on target and get the output on a local filemain menu autocompletion for short commandsdownload/upload progress bardownload/upload autocompletionIPv6encryptionUDP
Bugs
Ctrl-C on main menu has not the expected behaviour yet. However can still stop commands like 'download'.Session logging: when executing commands with alternate buffers like nano on target, then when cat the log it seems corrupted. However the data are still there.
Misc
apply some PEP8consider autorunning bash -l on new shellsbetter way to handle duplicate downloads
Limitations
emojis don't appear on mate-terminal (parrot OS)download command: path links are not clickable on qterminal (Kali Linux)penelope menu commands and PTY autoresize operate on the same socket. This could be an advantage but it has a side effect that for example if nano is open on target, then detaching the session and attempt a download, penelope copes with that by sending Ctrl-Z -> Ctrl-E -> Ctrl-U. Then must run fg to get the process back. Maybe consider to spawn extra socket for controling the session in the future. However, if before executing a menu command, the target's terminal if left on a clear state, then there is no problem.
Thanks to
Cristian Grigoriu - @crgr (https://github.com/crgr) for inspiring me to automate the PTY upgrade process. This is how this project was born.Paul Taylor - @bao7uo (https://github.com/bao7uo) for advising me that penelope should not be shipped without the ability to connect to a bind shell.

Download Penelope (https://github.com/brightio/penelope)

___________________________
@hacking_Attack
@Hacking_Video
hacking: security in practice
Looking for CTF team members/enthusiasts

I'm not sure if this is the right place, but figured worth a shot.

I haven't done CTFs in a couple of years due to life changes, work, etc, but I'd like to start doing them again for fun and skill honing/development.

Ideally I'd like to find a couple of people to start a small team of people to work on CTFs and problems, as well as hobbyist projects, from time to time and keep each other engaged and improving. I'm not looking to spend 24+ hrs on events, but just a couple of hours a day as available since life keeps me pretty busy.

If you know anyone, or are interested, please let me know. Prefer USA based people, and I live in the ET timezone.

submitted by /u/vitafortisnk
[link] [comments]
Sent by @TheFeedReaderBot

___________________________
@hacking_Attack
@Hacking_Video
hacking: security in practice
Red Teaming Hardware

Hi Everyone

I'm interested in physical red teaming tools such as the USB Kill and USB Samurai. Can you guys please advise where I can find similar tools for red teaming exercises

Thank you

submitted by /u/messi1_0-
[link] [comments]
Sent by @TheFeedReaderBot

___________________________
@hacking_Attack
@Hacking_Video
Red Teaming Hardware
https://www.reddit.com/r/redteamsec/comments/pjljvn/red_teaming_hardware/

Hi Everyone I'm interested in physical red teaming tools such as the USB Kill and USB Samurai. Can you guys please advise where I can find similar tools for red teaming exercises Thank you submitted by /u/messi1_0- (https://www.reddit.com/user/messi1_0-)
[link] (https://www.reddit.com/r/redteamsec/comments/pjljvn/red_teaming_hardware/) [comments] (https://www.reddit.com/r/redteamsec/comments/pjljvn/red_teaming_hardware/)

___________________________
@hacking_Attack
@Hacking_Video