This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo -i | |
free -m | |
sudo dd if=/dev/zero of=/mnt/swap.0 bs=5024 count=1048576 && sudo mkswap /mnt/swap.0 && echo "/mnt/swap.0 swap swap defaults 0 0" >> /etc/fstab && swapon /mnt/swap.0 && sudo swapon -s | |
apt update && DEBIAN_FRONTEND=noninteractive apt install -y wget kali-linux-headless | |
vi xfce4.sh | |
#!/bin/sh | |
#echo "[i] Updating and upgrading Kali (this will take a while)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for ($i=0; ; $i++) | |
{ | |
Powershell.exe -noprofile -executionpolicy bypass -file "C:\Users\BlackBear\Desktop\GeonjuV2.0.ps1" | |
Start-Sleep -s 720 | |
Powershell.exe -noprofile -executionpolicy bypass -file "C:\Users\BlackBear\Desktop\GeonjuV2.0.ps1" | |
Start-Sleep -s 900 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 머신 종료 / VM off | |
Stop-AzVM -ResourceGroupName "GeonjuV2.0" -Name "GeonjuV2" -Force | |
Start-Sleep -s 10 | |
# NIC 랜덤 생성 / Create New NIC Ramdom | |
$vm = Get-AzVM -ResourceGroupName GeonjuV2.0 -Name GeonjuV2 | |
$nicname = $vm.NetworkProfile.NetworkInterfaces[0].Id.Split('/') | select -Last 1 | |
$name = ([int]$nicname + 1) | |
$nic = New-AzNetworkInterface -Name $name -ResourceGroupName "GeonjuV2.0" -Location "koreacentral" -SubnetId "/subscriptions/54827d60-3591-4014-a594-e6b75fb7deab/resourceGroups/GeonjuV2.0/providers/Microsoft.Network/virtualNetworks/GeonjuV2.0-vnet/subnets/default" -IpConfigurationName "IPConfiguration1" -DnsServer "8.8.8.8", "8.8.4.4” | |
Start-Sleep -s 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$filenames = @( | |
'macro.pmc' | |
) | |
$idx = Get-Random -Minimum 0 -Maximum $filenames.count | |
$filename=$filenames[$idx] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
taskkill /F /IM "chrome.exe" | |
Start-Sleep -Seconds 5 | |
#------------------------------------------------------------------# | |
#- Clear-WindowsUserCacheFiles # | |
#------------------------------------------------------------------# | |
Function Clear-WindowsUserCacheFiles { | |
param([string]$user=$env:USERNAME) | |
Remove-CacheFiles "C:\Users\$user\AppData\Local\Temp" | |
Remove-CacheFiles "C:\Users\$user\AppData\Local\Microsoft\Windows\WER" |