๐ Sessions
๐ฏ Purpose:
Enable control of multiple modules simultaneously.
Allow switching, backgrounding, and managing active communication with targets.
Each session provides a dedicated control interface.
๐งช Creating/Backgrounding a Session
Once an exploit is successful:
Background it:
Keyboard:
CTRL + Z
Or run:
๐ List Active Sessions
Example:
๐ฅ๏ธ Interact with a Session
Result:
๐ฆ Post-Exploitation Modules
You can run a post-exploitation module against an active session by selecting a
SESSION
option inside the module.Example categories:
post/windows/gather/
post/multi/recon/
post/multi/manage/
โ๏ธ Jobs
๐ก What are Jobs?
Background tasks started with modules like
exploit -j
.Useful for persistence, multi-tasking, or freeing up ports.
๐ View Running Jobs
Example:
โ Kill a Job
Or:
๐งฐ Jobs Help Menu
Useful options:
-l
: List all jobs-k
: Kill by ID-K
: Kill all jobs-i
: Detailed job info
๐ Running Exploits as Jobs
Example output:
๐ Exploit Help Menu
Options:
-j
: Run as job-J
: Force foreground run-f
: Force run-e
: Set encoder
Let me know when you're ready for the Meterpreter section or want flashcards/quiz from this! ๐ง โก
Last updated