Web Shells

Watching IppSec videos is recommended
php
<?php system($_REQUEST['cmd']); ?>

Ways to Upload a Web Shell

  • Direct file upload:
  • Upload forms in misconfigured web applications.
  • Exploitation of specific applications:
  • Tomcat, Axis2, or WebLogic allow WAR/JSP files to be uploaded and deployed.
  • Misconfigured FTP:
  • Allows files to be uploaded directly to the server's web root.
  • Authenticated upload areas:
  • Areas such as profile photo uploads that can be abused after bypassing client-side checks.

Laudanum

  • Repository of web shells and tools designed to be injected into compromised web systems.
  • Compatibility: Includes scripts in different languages such as ASP, ASPX, JSP, PHP, among others.
  • Main functions:
  • Access through a reverse shell.
  • Command execution from the browser

Repo

It is important to modify the shell

Antak

An ASP.NET web shell included in the Nishang project. It is designed to interact with Windows servers through PowerShell. Once we have the shell, we can log in with Username: Disclaimer / Password: ForLegitUseOnly