-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate_icon.ps1
More file actions
25 lines (18 loc) · 848 Bytes
/
Copy pathcreate_icon.ps1
File metadata and controls
25 lines (18 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Basit bir simge yaratmak için PowerShell scripti
# Windows'ta çalıştırabilirsiniz
Add-Type -AssemblyName System.Drawing
# 32x32 boyutunda basit bir simge oluştur
$bitmap = New-Object System.Drawing.Bitmap(32, 32)
$graphics = [System.Drawing.Graphics]::FromImage($bitmap)
# Arka plan
$graphics.Clear([System.Drawing.Color]::White)
# Kalkan şekli çiz
$brush = New-Object System.Drawing.SolidBrush([System.Drawing.Color]::Blue)
$graphics.FillEllipse($brush, 4, 4, 24, 24)
# Çarpı işareti (güvenlik)
$pen = New-Object System.Drawing.Pen([System.Drawing.Color]::White, 3)
$graphics.DrawLine($pen, 12, 12, 20, 20)
$graphics.DrawLine($pen, 20, 12, 12, 20)
# Dosyayı kaydet
$bitmap.Save("$PSScriptRoot\phishing_detector_icon.png", [System.Drawing.Imaging.ImageFormat]::Png)
Write-Host "İcon oluşturuldu: phishing_detector_icon.png"