WEEVELY(1)

πŸ“¦
version 4.0.2 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– WEEVELY(1) πŸ’–

okay bestie, welcome to the User Commands section, this is the manual page for weevely and honestly? it's giving legend behavior 🫢


✨ NAME ✨

Weevely β€” a Weaponized web shell πŸ’…


🌸 DESCRIPTION 🌸

So basically, weevely is a web shell that was built for post-exploitation purposes, and the way it eats is that it can be extended over the network at runtime. no cap. it grows. πŸ”₯

Here's the vibe: you upload the weevely PHP agent to a target web server, and boom β€” you get remote shell access to it. Once you're connected, you have more than 30 modules at your disposal, and they help you with administrative tasks, maintaining access, providing situational awareness, elevating privileges, and spreading into the target network. like, it does all of that. 🧚✨


πŸŽ€ SYNOPSIS πŸŽ€

Run terminal to the target β€” literally just point it at a URL and go:

weevely <URL> <password> [cmd]

Generate backdoor agent β€” make the lil baby agent:

weevely generate <password> <path>

Load session file β€” pick up where you left off:

weevely session <path>

πŸ¦‹ Features πŸ¦‹

the feature list is lowkey stacked, no notes:

  • Shell access to the target 🐚
  • SQL console pivoting on the target
  • HTTP/HTTPS proxy to browse through the target
  • Upload and download files
  • Spawn reverse and direct TCP shells
  • Audit remote target security
  • Run Meterpreter payloads
  • Port scan pivoting on target
  • Mount the remote filesystem
  • Bruteforce SQL accounts pivoting on the target

πŸ‘‘ Agent πŸ‘‘

the agent is a small, polymorphic PHP script that is hardly detected by AV, and the communication protocol is obfuscated within HTTP requests. sneaky little icon, we love her. πŸ™ˆ

πŸ’€ Modules πŸ’€

okay this is the main character section, 43 modules, we're not skipping a single one, periodt:

  • :audit_filesystem β€” Audit the file system for weak permissions.
  • :audit_suidsgid β€” Find files with SUID or SGID flags.
  • :audit_disablefunctionbypass β€” Bypass disable_function restrictions with mod_cgi and .htaccess.
  • :audit_etcpasswd β€” Read /etc/passwd with different techniques.
  • :audit_phpconf β€” Audit PHP configuration.
  • :shell_sh β€” Execute shell commands.
  • :shell_su β€” Execute commands with su.
  • :shell_php β€” Execute PHP commands.
  • :system_extensions β€” Collect PHP and webserver extension list.
  • :system_info β€” Collect system information.
  • :system_procs β€” List running processes.
  • :backdoor_reversetcp β€” Execute a reverse TCP shell.
  • :backdoor_tcp β€” Spawn a shell on a TCP port.
  • :backdoor_meterpreter β€” Start a meterpreter session.
  • :bruteforce_sql β€” Bruteforce SQL database.
  • :file_gzip β€” Compress or expand gzip files.
  • :file_clearlog β€” Remove string from a file.
  • :file_check β€” Get attributes and permissions of a file.
  • :file_upload β€” Upload file to remote filesystem.
  • :file_webdownload β€” Download an URL.
  • :file_tar β€” Compress or expand tar archives.
  • :file_download β€” Download file from remote filesystem.
  • :file_bzip2 β€” Compress or expand bzip2 files.
  • :file_edit β€” Edit remote file on a local editor.
  • :file_grep β€” Print lines matching a pattern in multiple files.
  • :file_ls β€” List directory content.
  • :file_cp β€” Copy single file.
  • :file_rm β€” Remove remote file.
  • :file_upload2web β€” Upload file automatically to a web folder and get corresponding URL.
  • :file_zip β€” Compress or expand zip files.
  • :file_touch β€” Change file timestamp.
  • :file_find β€” Find files with given names and attributes.
  • :file_mount β€” Mount remote filesystem using HTTPfs.
  • :file_enum β€” Check existence and permissions of a list of paths.
  • :file_read β€” Read remote file from the remote filesystem.
  • :file_cd β€” Change current working directory.
  • :sql_console β€” Execute SQL query or run console.
  • :sql_dump β€” Multi dbms mysqldump replacement.
  • :net_mail β€” Send mail.
  • :net_phpproxy β€” Install PHP proxy on the target.
  • :net_curl β€” Perform a curl-like HTTP request.
  • :net_proxy β€” Run local proxy to pivot HTTP/HTTPS browsing through the target.
  • :net_scan β€” TCP Port scan.
  • :net_ifconfig β€” Get network interfaces addresses.
bestie if you're using these on anything that isn't yours, that's not slay, that's a crime. be the main character, not the defendant. πŸ’–

🌈 SEE ALSO 🌈

iykyk, the wiki is right there, go read it. πŸ“–βœ¨


πŸ’œ AUTHOR πŸ’œ

weevely is developed by The Weevely Developers. This manpage was made by Emilio <epinna> and Samuel Henrique <samueloph@debian.org>, based on weevely's README.md, and can be used by other projects as well. shoutout to them fr fr 🫢


and that's the whole page, babe πŸŽ€ this was weevely 3.7.0, dated October 2018 β€” yeah she's an October 2018 girlie and she still serves πŸ’…πŸ’– bye bestie, stay safe out there πŸŒΈπŸ¦‹βœ¨