10000 Update · mlcsec/Graphpython@5f50e02 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5f50e02

Browse files
committed
Update
1 parent 2a6178c commit 5f50e02

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/usage.png

27.8 KB
Loading

graphpython/__main__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,24 @@ def parseArgs():
3434
parser.add_argument("--command", help="Command to execute")
3535
parser.add_argument("--list-commands", action="store_true", help="List available commands")
3636
parser.add_argument("--token", help="Microsoft Graph access token or refresh token for FOCI abuse")
37-
parser.add_argument("--estsauthcookie", help="'ESTSAuth' or 'ESTSAuthPersistent' cookie value")
37+
parser.add_argument("--estsauthcookie", help="'ESTSAuth' or 'ESTSAuthPersistent' cookie")
3838
parser.add_argument("--use-cae", action="store_true", help="Flag to use Continuous Access Evaluation (CAE) - add 'cp1' as client claim to get an access token valid for 24 hours")
3939
parser.add_argument("--cert", help="X509Certificate path (.pfx)")
4040
parser.add_argument("--domain", help="Target domain")
4141
parser.add_argument("--tenant", help="Target tenant ID")
42-
parser.add_argument("--username", help="Username or file containing username (invoke-userenumerationasoutsider)")
42+
parser.add_argument("--username", help="Username or file containing usernames (invoke-userenumerationasoutsider)")
4343
parser.add_argument("--secret", help="Enterprise application secretText (invoke-appsecrettoaccesstoken)")
4444
parser.add_argument("--id", help="ID of target object")
4545
parser.add_argument("--select", help="Fields to select from output")
46-
parser.add_argument("--query", help="Raw API query (GET only)")
46+
parser.add_argument("--query", help="Raw API query URL (GET only)")
4747
parser.add_argument("--search", help="Search string")
4848
parser.add_argument("--entity", choices=['driveItem', 'message', 'chatMessage', 'site', 'event'],help="Search entity type: driveItem(OneDrive), message(Mail), chatMessage(Teams), site(SharePoint), event(Calenders)")
4949
parser.add_argument("--device", choices=['Mac', 'Windows', 'AndroidMobile', 'iPhone'], help="Device type for User-Agent forging")
5050
parser.add_argument("--browser", choices=['Android', 'IE', 'Chrome', 'Firefox', 'Edge', 'Safari'], help="Browser type for User-Agent forging")
5151
parser.add_argument("--only-return-cookies", action="store_true", help="Only return cookies from the request (open-owamailboxinbrowser)")
5252
parser.add_argument("--mail-folder", choices=['Allitems', 'inbox', 'archive', 'drafts', 'sentitems', 'deleteditems', 'recoverableitemsdeletions'], help="Mail folder to dump (dump-owamailbox)")
5353
parser.add_argument("--top", type=int, help="Number (int) of messages to retrieve (dump-owamailbox)")
54-
parser.add_argument("--script", help="File containing the script content (deploy-maliciousscript and backdoor-script)")
54+
parser.add_argument("--script", help="File containing the script content (deploy-maliciousscript or backdoor-script)")
5555
parser.add_argument("--email", help="File containing OWA email message body content (spoof-owaemailmessage)")
5656

5757
args = parser.parse_args()

0 commit comments

Comments
 (0)
0