|
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
<meta charset="utf-8"> |
|
<title> |
|
GTFOArgs |
|
</title> |
|
<meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes" name="viewport"> |
|
</head> |
|
<body> |
|
<a aria-label="View source on Github" class="github-corner"> |
|
</a> |
|
<style> |
|
@media (min-width: 1000px){body{width:800px;margin:40px auto}p{text-align:justify}}@media not all and (min-width: 1000px){.github-corner{display:none}}body{font-family:sans, sans-serif}code{padding:0.15em 0.25em;border-radius:0.25em;color:#bf0707;background:#fff4f4}pre{background:#fff4f4;padding:1em;overflow-x:auto}pre code{padding:0;border-radius:0}a:link,a:visited{color:#bf0707}a:hover{color:red}h2 .permalink,h3 .permalink,h4 .permalink,h5 .permalink,h5 .permalink{margin-left:5px;text-decoration:none;visibility:hidden}h2 .permalink::before,h3 .permalink::before,h4 .permalink::before,h5 .permalink::before,h5 .permalink::before{content:"#"}h2:target,h3:target,h4:target,h5:target,h5:target{border-left:5px solid #bf0707;padding-left:5px}h2:hover .permalink,h3:hover .permalink,h4:hover .permalink,h5:hover .permalink,h5:hover .permalink{visibility:visible}#bin-search-wrapper{margin:50px 0;padding:10px 0;position:relative}#bin-search-wrapper #bin-search-filters{text-align:center}#bin-search-wrapper #bin-search-filters a{background:#fff4f4;font-size:initial;border-radius:0.25em}#bin-search-wrapper #bin-search-filters a:hover:before{content:attr(data-title);font-size:0.8rem;display:block;position:absolute;left:0;right:0;margin-top:1.75rem;margin-left:10%;margin-right:10%;padding:1em;border-radius:1em;color:#fff4f4;background:rgba(0,0,0,0.75);z-index:1;pointer-events:none}#bin-search-wrapper #bin-search{margin-top:25px;padding:1em;font-size:1rem;width:100%;box-sizing:border-box;border:1px solid #bf0707;outline-color:#bf0707}#bin-table{width:100%}#bin-table th,#bin-table td{padding:0.2em 1em}#bin-table th{text-align:left}#bin-table tbody tr:hover{background:#fff4f4}#bin-table #search-message{display:none;text-align:center;padding:1em}.function-list{font-size:0.8rem;list-style:none;padding:0;margin:0}.function-list li{display:inline-block}.function-list li a{display:inline-block;padding:0.25em 0.5em;margin:0.2em 0;border:1px solid #bf0707}.function-list li a:link,.function-list li a:visited{color:#bf0707;text-decoration:none}.function-list li a:hover{color:red;border-color:red}.function-list li.match a{background:#fcc}.examples{display:table;width:100%;table-layout:fixed;counter-reset:item;margin:0;padding:0}.examples>li{display:table-row}.examples>li:not(:only-child):before{display:table-cell;font-size:0.8rem;font-weight:bold;width:3em;text-align:center;counter-increment:item;content:"(" counter(item,lower-alpha) ")"}.logo{float:right;width:100px;height:100px;margin-left:20px;margin-bottom:20px}.bin-name{font-family:monospace;font-size:1.2rem}.function-name{font-size:1.4rem;font-weight:bold}.github-buttons{display:inline-block;margin-left:10px}.github-buttons a.github-button{visibility:hidden} |
|
|
|
|
|
.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}} |
|
</style> |
|
<h1> |
|
GTFOArgs |
|
<div class="github-buttons"> |
|
<span> |
|
</span> |
|
</div> |
|
</h1> |
|
<p> |
|
<img alt="logo" class="logo" src="rick.jpg"> |
|
</p> |
|
<p> |
|
GTFOArgs is a curated list of Unix binaries that can be manipulated for argument injection, possibly resulting in security vulnerabilities. |
|
</p> |
|
<p> |
|
Argument injection (sometimes referred to as parameter injection) takes advantage of a program’s legitimate functionality in order to extend the capabilities provided by the method in which the program is intended to be run. |
|
</p> |
|
<p> |
|
The project collects legitimate |
|
<a> |
|
arguments |
|
</a> |
|
of Unix binaries that can be abused to break out of the environment they were run, in order to escalate privileges, transfer files, spawn bind and reverse shells, and facilitate other post-exploitation tasks. |
|
</p> |
|
<p> |
|
GTFOArgs is a |
|
<a> |
|
collaborative |
|
</a> |
|
project where everyone can |
|
<a> |
|
contribute |
|
</a> |
|
with additional binaries and techniques. |
|
</p> |
|
<p> |
|
This project was inspired by |
|
<a> |
|
GTFOBins |
|
</a> |
|
and most of the layout source code is written by them. |
|
</p> |
|
<div id="bin-search-wrapper"> |
|
<ul class="function-list" id="bin-search-filters"> |
|
<li> |
|
<a data-title="It can be used to break out from restricted environments by spawning an interactive system shell."> |
|
Shell |
|
</a> |
|
</li> |
|
<li> |
|
<a data-title="It can be used to break out from the intended program by running non-interactive system commands."> |
|
Command |
|
</a> |
|
</li> |
|
<li> |
|
<a data-title="It can exfiltrate files on the network."> |
|
File upload |
|
</a> |
|
</li> |
|
<li> |
|
<a data-title="It can download remote files."> |
|
File download |
|
</a> |
|
</li> |
|
</ul> |
|
<input id="bin-search" placeholder="Search among 20 binaries: <binary> +<function> ..." type="text"> |
|
</div> |
|
<div id="bin-table-wrapper" style="height: 768px;"> |
|
<table id="bin-table"> |
|
<thead> |
|
<tr> |
|
<th> |
|
Binary |
|
</th> |
|
<th> |
|
Functions |
|
</th> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
<tr> |
|
<td> |
|
<a class="bin-name"> |
|
awk |
|
</a> |
|
</td> |
|
<td> |
|
<ul class="function-list"> |
|
<li class=""> |
|
<a> |
|
Shell |
|
</a> |
|
</li> |
|
<li class=""> |
|
<a> |
|
Command |
|
</a> |
|
</li> |
|
<li class=""> |
|
<a> |
|
File write |
|
</a> |
|
</li> |
|
<li class=""> |
|
<a> |
|
File read |
|
</a> |
|
</li> |
|
</ul> |
|
</td> |
|
</tr> |
|
<tr> |
|
<td> |
|
<a class="bin-name"> |
|
curl |
|
</a> |
|
</td> |
|
<td> |
|
<ul class="function-list"> |
|
<li class=""> |
|
<a> |
|
File upload |
|
</a> |
|
</li> |
|
<li class=""> |
|
<a> |
|
File download |
|
</a> |
|
</li> |
|
<li class=""> |
|
<a> |
|
File write |
|
</a> |
|
</li> |
|
<li class=""> |
|
<a> |
|
File read |
|
</a> |
|
</li> |
|
</ul> |
|
</td> |
|
</tr> |
|
<tr> |
|
<td> |
|
<a class="bin-name"> |
|
dig |
|
</a> |
|
</td> |
|
<td> |
|
<ul class="function-list"> |
|
<li class=""> |
|
<a> |
|
File read |
|
</a> |
|
</li> |
|
</ul> |
|
</td> |
|
</tr> |
|
</tbody> |
|
<tfoot> |
|
</tfoot> |
|
</table> |
|
</div> |
|
</body> |
|
</html> |
|
|