Maswie BloG

Free Delphi, Visual Basic, Microcontrol, Mechatronic tutorial

My TDA

Posted by maswie2000 on March 9, 2008

Hari ini saya berniat untuk mulai mewujudkan semua impian-impian saya. Degan restu dari ibu bapak dan dengan dukungan Mr. Agus Semoga semua kan berhasil.

Advertisements

Posted in 1 | Leave a Comment »

Desktop Hacking

Posted by maswie2000 on January 5, 2008

Syarat umum : Mengetahui pemrograman dasar delphi6.

Disini saya akan memberikan contoh sederhana untuk membuat tools hacking menggunakan Delphi6. Saya menggunakan komponen kontrol yang saya modif dari komponen lain untuk sekedar fungsi pengendalian Desktop komputer dijaringan.

Silahkan download komponennya disini.

DesktopHack, Terdiri dari dua buah komponen yaitu DesktopController dan DesktopServer.

Cara Install komponennya adalah :

  1. Ekstrak file DesktopHack.zip di harddisk anda.
  2. Buka folder tempat anda menyimpan Komponen DesktopHack
  3. Jalankan file DesktopHack.dpk
  4. Setelah itu aplikasi delphi6 terbuka dan klik install
  5. Setelah installasi selesai jangan lupa tambahkan library path komponennya.
  6. Menambahkan library komponen dilakukan dari menu Tools > Environment Options > Pilih Tab Library > Library Path > Cari Lokasi Folder Komponennya > Add.
  7. Komponen telah siap digunakan.

 Membuat aplikasi baru menggunakan delphi6 :

 A. Membuat aplikasi server target.

  1. Buka Aplikasi Delphi6 anda.
  2. File > New > Application. Selanjutnya akan tampil jendela form1.
  3. Buka Tab DesktopHack pada Component palette.
  4. Tempatkan komponen bernama DesktopServer pada form aplikasi anda.
  5. Double klik pada form1 anda.
  6. Isikan kode pada FormCreate sebagai berikut

procedure TForm1.FormCreate(Sender: TObject);

begin

DesktopServer1.OpenDesktop;

end;

  1. Simpan Proyek anda dengan cara Klik File> Save All
  2. Simpan didirektori yang anda inginkan selanjutnya beri nama project anda.
  3. Untuk mendapatkan program berekstensi exe dapat dilakukan dengan cara klik menu Project > Compile <NamaProjectAnda>, atau juga bisa dilakukan dengan Run Program.
  4. Program berekstensi exe terbentuk dilokasi folder tempat anda menyimpan program anda dan siap dijalankan dikomputer target kendali.
  5. Komponen DesktopServer ini dapat ditambahkan pada kode Trojan atau virus Delphi anda agar anda dapat mengendalikan desktop semua komputer dijaringan anda. Untuk caranya tentunya anda lebih tau dari saya he he he… 

B. Membuat Aplikasi pengendali.

  1. Buka Delphi anda dan tempatkan komponen TEdit dan Tbutton masing-masing 1 buah.
  2. Tempatkan komponen bernama DesktopController pada form aplikasi anda.
  3. Masukan kode dibawah pada event Button1Click.

 procedure TForm1.Button1Click(Sender: TObject);

begin

DesktopController1.AlamatIP := Edit1.Text;

DesktopController1.OpenDesktop;

end; 

  1. Simpan Program dilokasi yang anda inginkan dan selanjutnya compile program agar menghasilkan program exe nya.
  2. Komponen DesktopController berfungsi untuk meremote desktop komputer yang menjalankan aplikasi DesktopServer.
  3. Untuk mengendalikan desktop komputer lain bisa dilakukan dengan mengisikan alamat IP target pada edit text dan klik tombol button1 pada program pengendali anda.

 Jika anda masih mengalami kesulitan anda dapat menggunakan contoh programnya yang dapat anda download disini.

 Selamat Mencoba semoga berhasil !!!

 Contoh Program hanya untuk sarana pengetahuan, untuk kepentingan kriminal resiko ditanggung pemakai.

Posted in My Delphi, My Program, My tutorial | Tagged: , , | Leave a Comment »

SMS remote control

Posted by maswie2000 on November 10, 2007

Introduction

 

With this circuit we can controll up to 8 devices (4 devices in our example project), by sending a specific SMS message with any mobile phone. Its very usefull at the cases that, at the place we have the devices, we have not a wired telephone line. If you have an old ericsson mobile phone and you are not using it, its the time to build some useful with that.  The controlling that we can do to the devices, it is ON , OFF or Reset.

 

 

Usage of this circuit

 

With this circuit you can switch-ON , OFF or  Restart some Linux servers, ADSL modems, Printers, Door with electric lock, Garage door, House lights, Water pumpselectric sunshadeBlock the engine of your car or your motorcycle, at the steal case  and much more. The purpose of this circuit is to make the human life better and easier.

 

 

The circuit

 

The hardware of the circuit its very very simple, because the communication port of ericsson mobile its working at the 5 volts with AT commands ( like the modem commands, but for mobile phones).

The firmware of the AT90S2313 (or ATtiny2313) its very complicated because, we have to convert the ‘septets’ of the phone to ‘octets’ because the AVR need bytes with 8 bits length ( The ‘septet’ is 1 byte with 7 bits length and  ‘octet’ is 1 byte with 8 bits length). All this proccess its necessary to decode the message from SMS.

 

Read the rest of this entry »

Posted in My AVR Micro | Tagged: , | Leave a Comment »

AVR Tutor with C

Posted by maswie2000 on November 8, 2007

You have a board which has an AVR microcontroller on it, the ATMega8. The microcontroller is the soul of the board, you may program it to do various things. It is the chip at the center of the board. The micro is connected to a digital thermometer, the DS18B20 and two 7-segment displays. All these goodies get power from a voltage regulator, whose responsibility is to provide 5V/500mA DC to the circuit. You will also find on the board, two LEDs and two buttons. Also, a serial port is available for connecting the board to a PC.

Our task is to program the micro, to be able to read temperature measurements from the thermometer by negotiating its protocol (1-wire) and output these readings to our two digit display. Where is our thermometer? It stands 15cm off the board, we will see why …

Now, in accordance with our public demand, the micro is not the soul of the board but the brains …

What is a microcontroller? A micro consists of:

  • Flash ROM memory for holding your program, they call it non-volatile cause it will retain your program even when power goes off. Next time it powers up, your code will run again. However, it is electrically erasable so you may use your programmer to program it and re-program it and …
  • RAM memory for holding runtime data, say variables that change during execution and are not to be remembered forever, they will be lost when power goes off.
  • EEPROM non-volatile memory for those variables that are to be remembered when power goes off. You may access the micro’s EEPROM either in advance when you program the micro or during runtime.
  • CPU/ALU the processing unit for doing arithmetic and logical operations amongst other things. Mainly these other things are controlling program flow (yes these ifs and fors you know from high level languages) but also for transferring data within the microcontroller.
  • Peripherals that are dedicated for various purposes, e.g the I/O ports are for turning pins on and off, USART is for communicating serially with another device (may be a PC), SPI is another serial protocol but for board level communication (short distance), interrupts are for getting external events asynchronously with our program flow, timers for measuring time, ADC for measuring analog quantities and the list goes on …
  • Registers hold 8-bit values and come into two flavors. Dedicated, which are used for configuring the operation of the micro and its peripherals. General purpose, working together with the ALU for storing temporarily results.
  • Clock is used by the micro for synchronizing all its operations. The clock is basically a train of square pulses at certain frequency, in our case 7.3728MHz. It is usually an external crystal, but one may use the internal clock.

AVRs are produced by ATMEL, you may go there and download the datasheet of ATmega8, have a look at the application notes as well. Be careful not to be scared by the vast amount of information. Bear also in mind that for our application only the I/O ports are needed.

Read the rest of this entry »

Posted in My AVR Micro | Tagged: , | Leave a Comment »