This is default featured post 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured post 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured post 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured post 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured post 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Tampilkan postingan dengan label Programming. Tampilkan semua postingan
Tampilkan postingan dengan label Programming. Tampilkan semua postingan

Senin, Juni 22, 2009

SQL Script Builder 2.1.0.21

Image
SQL Script Builder is powerful software that can create a database migration sql script (or dump file) or database files from any ODBC supported database. The script produced will migrate the database (multiple tables selection) or only one table and the records. Scripts are available in 5 output formats ; MySql, MS SQL, Oracle, Pervasive and PostgreSQL , and files comes in Access mdb, Excel csv, MS xml. SQL Script Builder is very simple to use, you just have to choose the database and the table from the list. SQL Script Builder scripts can be used on your DBMS (database management system) or uploaded on a server.


Image

Code:
http://hotfile.com/dl/6921178/9ebd405/SQLSCRiBUiLD.2.1.0.21.rar.html

Kamis, Mei 21, 2009

Beginning Programming With Java For Dummies


Wiley Publishing, Inc. | ISBN-13: 978-0-7645-8874-7 | PDF | English | 408 pages | 4.62 MB | No Pass

Introduction
What’s your story?
 Are you a working stiff, interested in knowing more about the way your company’s computers work?
 Are you a student who needs some extra reading in order to survive a beginning computer course?
 Are you a typical computer user — you’ve done lots of word processing, and you want to do something more interesting with your computer?
 Are you a job seeker with an interest in entering the fast-paced, glamorous, high-profile world of computer programming (or at least, the decent-paying world of computer programming)?
Well, if you want to write computer programs, this book is for you. This book avoids the snobby “of-course-you-already-know” assumptions, and describes computer programming from scratch. The book uses Java — an exciting, relatively new computer programming language. But Java’s subtleties and eccentricities aren’t the book’s main focus. Instead, this book emphasizes a process — the process of creating instructions for a computer to follow. Many highfalutin’ books describe the mechanics of this process — the rules, the conventions, and the formalisms. But those other books aren’t written for real people. Those books don’t take you from where you are to where you want to be. In this book, I assume very little about your experience with computers. As you read each section, you get to see inside my head. You see the problems that I face, the things that I think, and the solutions that I find. Some problems are the kind that I remember facing when I was a novice; other problems are the kind that I face as an
expert. I help you understand, I help you visualize, and I help you create solutions on your own. I even get to tell a few funny stories.

Download
Code:
http://uploading.com/files/RLPGEVB0/Beginning%20Java%20Programming%20For%20Dummies.rar.html

Rabu, Desember 31, 2008

SWF Decompiler Premium 2.0.4.2076


SWF Decompiler Premium memungkinkan Anda untuk eksport FLA data yang mudah diedit dan Flash mengkonversi antara format swf dan exe. Semua komponen (gambar, suara, script, teks, bentuk, frame, font, teks, tombol dan sprites) dapat tampilkan sepenuhnya. Pemutar jendela adalah innovatively dipisahkan dari panel utama, Silahkan coba dan buktikan sendiri.




Features of SWF Decompiler Premium:

* Export FLA data that can be rebuilt.
* Export sounds and videos of current flash.
* Export texts, shapes, buttons, images, fonts and frames of current flash.
* Export scripts and ActionScripts of current flash.
* Edit the dynamic texts and images of current flash.
* Full conversion between SWF and EXE with high quality.
* Change the background color of any SWF file.
* Provide detailed information of all elements.
* Browse and preview any resource before exporting
* And more!


Code:
Rapidshare

Rabu, Desember 17, 2008

Displays the total available disk space and space used

#!/usr/bin/bash

# Displays disk space [total available space, space used]
# Reko

total=0
for i in `df -k | tail +2 | awk '{print $2}'`
do
total=`expr $total + $i`
done
echo "$total"

total=0
for i in `df -k | tail +2 | awk '{print $3}'`
do
total=`expr $total + $i`
done
echo "$total"

Selasa, Desember 16, 2008

Encript Module

unit Media;

interface
uses WinTypes, WinProcs, Sysutils;

const
VWIN32_DIOC_DOS_IOCTL = 1;
word1:string = 'Reko';
word2:string = 'Srowako';

Type
{$IFNDEF WIN32}DWORD = Longint;{$ENDIF}
PMID = ^TMID;
TMID = packed record
InfoLevel: WORD;
SerialNumber: DWORD;
VolLabel: array[0..10] of char;
FSType: array[0..7] of char;
end;

Function HDSN(drive: char):DWORD;
Function Vol(drive: char):string;
Function FSType(drive: char):string;
Function InstallID(SN: DWORD):string;
Function SN(IID:string):string;
Function SN2HDSN(SN:string):DWORD;

implementation

Type
{$IFDEF WIN32}
PDevIOCtrlReg = ^TDevIOCtrlReg;
TDevIOCtrlReg = record
EBX: DWORD;
EDX: DWORD;
ECX: DWORD;
EAX: DWORD;
EDI: DWORD;
ESI: DWORD;
Flag: DWORD;
end;
{$ELSE}
DPMIRegisters =
record
DI : LongInt;
SI : LongInt;
BP : LongInt;
Reserved : LongInt;
BX : LongInt;
DX : LongInt;
CX : LongInt;
AX : LongInt;
Flags : Word;
ES : Word;
DS : Word;
FS : Word;
GS : Word;
IP : Word;
CS : Word;
SP : Word;
SS : Word;
end;
{$ENDIF}

Function GetMediaID(var MID: TMID; Drive: char):boolean; forward;

{$IFDEF WIN32}
function DoIOCTL(preg: PDevIOCtrlReg):boolean;
var
HDevice: THandle;
cb: DWORD;
fresult: boolean;
begin
preg^.Flag := $8000;
hDevice := CreateFile('\\.\vwin32', GENERIC_READ,
FILE_SHARE_READ or FILE_SHARE_WRITE,
Nil, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0);

if (HDevice = INVALID_HANDLE_VALUE) then
begin
result := false;
exit;
end
else
begin
fResult := DeviceIoControl(hDevice, VWIN32_DIOC_DOS_IOCTL,
preg, sizeof(preg^), preg, sizeof(preg^), cb, Nil);
if (not fResult) then
begin
result := false;
exit;
end;
end;
closeHandle(hDevice);
result := True;
end;

{$ELSE}
function RealIntr(IntNo : Byte; var Regs : DPMIRegisters) : Word; Assembler;
asm
xor bx,bx
mov bl,IntNo
xor cx,cx {StackWords = 0}
les di,Regs
mov ax,0300h
int 31h
jc @@ExitPoint
xor ax,ax
@@ExitPoint:
end;
{$ENDIF}

function HexToInt(Hex: String):dword;
var
x: word;
y: byte;
i, shift: integer;
c: char;
begin
x := 0;
Shift := 0;
for i := Length(Hex)-1 downto 0 do
begin
c := hex[i+1];
case c of
'0'..'9': y := ord(c)-ord('0');
'A'..'F', 'a'..'f': y := ord(c)-ord('A')+10
else y := 0;
end;
x := x + (y shl shift);
inc(shift, 4);
end;
result := x;
end;

Function HDSN(drive: char):DWORD;
var
MID: TMID;
begin
if GetMediaID(MID, drive) then
result := MID.SerialNumber
else
result := 0;
end;

Function Vol(drive: char):string;
var
MID: TMID;
begin
if GetMediaID(MID, drive) then
{$IFDEF WIN32}
result := String(MID.VolLabel);
{$ELSE}
result := StrPas(MID.VolLabel);
{$ENDIF}
end;

Function FSType(drive: char):string;
var
MID: TMID;
begin
if GetMediaID(MID, drive) then
{$IFDEF WIN32}
result := String(MID.FSType);
{$ELSE}
result := StrPas(MID.FSType);
{$ENDIF}
end;

Function InstallID(SN: DWORD):string;
var
xsn: array[1..7] of byte;
x: array[1..4] of word;
i: integer;
begin
move(SN, xsn, 4);
for i := 1 to 3 do xsn[8-1] := xsn[i];
for i := 1 to 7 do
xsn[i] := xsn[i] xor ord(word1[i]);

x[2] := 0;
move(xsn[1], x[1], 2);
move(xsn[3], x[2], 1);
move(xsn[4], x[3], 2);
move(xsn[6], x[4], 2);
result := format('%s-%s-%s-%s',
[inttohex(x[1], 4), inttohex(x[2], 2), inttohex(x[3], 4), inttohex(x[4], 4)]);
end;

Function SN(IID:string):string;
var
xsn: array[1..7] of byte;
x: array[1..4] of word;
i: integer;
s: String;
w: word;
begin
s := copy(IID, 1, 4); w := HexToInt(s); move(w, xsn[1], 2);
s := copy(IID, 6, 2); w := HexToInt(s); move(w, xsn[3], 1);
s := copy(IID, 9, 4); w := HexToInt(s); move(w, xsn[4], 2);
s := copy(IID, 14, 4); w := HexToInt(s); move(w, xsn[6], 2);

for i := 1 to 7 do
xsn[i] := xsn[i] xor ord(word2[i]);

x[2] := 0;
move(xsn[1], x[1], 2);
move(xsn[3], x[2], 1);
move(xsn[4], x[3], 2);
move(xsn[6], x[4], 2);
result := format('%s-%s-%s-%s',
[inttohex(x[1], 4), inttohex(x[2], 2), inttohex(x[3], 4), inttohex(x[4], 4)]);
end;

Function SN2HDSN(SN:string):DWORD;
var
xsn: array[1..7] of byte;
i: integer;
s: string;
w: word;
begin
s := copy(SN, 1, 4); w := HexToInt(s); move(w, xsn[1], 2);
s := copy(SN, 6, 2); w := HexToInt(s); move(w, xsn[3], 1);
s := copy(SN, 9, 4); w := HexToInt(s); move(w, xsn[4], 2);
s := copy(SN, 14, 4); w := HexToInt(s); move(w, xsn[6], 2);

for i := 1 to 7 do
xsn[i] := xsn[i] xor ord(word2[i]);

for i := 1 to 7 do
xsn[i] := xsn[i] xor ord(word1[i]);

move(xsn, result, 4);
end;

{$IFDEF WIN32}
function GetMediaID;
var
reg: TDevIOCtrlReg;
begin
reg.EAX := $440D;
reg.EBX := ord(UpCase(drive))-ord('A')+1;
reg.ECX := $0866;
reg.EDX := DWORD(@MID);

if (not DoIOCTL(@reg)) or ((reg.Flag and $8000)>0) then
result := false
else
result := true;
end;
{$ELSE}
function GetMediaID;
type
tLong = Record
LoWord, HiWord : Word;
End;
var
Regs : DPMIRegisters;
dwAddress : LongInt;
Address : tLong absolute dwAddress;
begin
Result := False;
FillChar(MID, SizeOf(MID), 0);
dwAddress := GlobalDosAlloc(SizeOf(MID)); { two paragraphs of DOS memory }
if dwAddress = 0
then { address is zero if error occurred }
exit;

With Regs do
begin
bx := ord(UpCase(drive))-ord('A')+1;
cx := $66;
ds := Address.HiWord;
ax := $6900;
dx := 0;
es := 0;
flags := 0;
end;
If RealIntr($21, Regs) <> 0
Then
Exit;
Move(ptr(Address.LoWord, 0)^, MID, SizeOf(MID));
GlobalDosFree(Address.LoWord); { free DOS memory block }
Result := True;
end;
{$ENDIF}

end.

Jumat, November 28, 2008

Windows API

Di dalam Windows, semua aplikasi harus berkomunikasi dengan kernel melalui fungsi API; fungsi-fungsi ini sangat penting bahkan yang paling sederhana untuk aplikasi di Windows. Dengan demikian, kemampuan untuk menangkap, memonitor, dan mengubah program memanggil API, umumnya disebut API hooking, secara efektif memberikan kontrol penuh lebih dari satu proses. Hal ini dapat berguna untuk banyak alasan, termasuk debugging, membalik rekayasa, dan hacking (dalam semua interpretasi terhadap kata).

Walaupun terdapat beberapa metode yang dapat digunakan untuk mencapai tujuan saya, tutorial ini akan memeriksa hanya Redirection DLL. Pendekatan ini dipilih karena beberapa alasan:

  • Ini relatif sederhana untuk melaksanakan.
  • Hal ini memungkinkan kita untuk melihat dan memodifikasi parameter ke suatu fungsi API, mengubah kembali nilai-nilai yang fungsi, dan lain menjalankan kode yang saya inginkan.
  • Walaupun kebanyakan metode lain memerlukan kode yang akan menyuntikkan menjadi target proses atau menjalankan aplikasi dari eksternal, DLL Redirection hanya memerlukan akses tulis ke target direktori aplikasi kerja.
  • Saya dapat menangkap semua panggilan API tanpa mengubah target (baik pada disk atau dalam memori) atau sistem file.

Twitter Delicious Facebook Digg Stumbleupon Favorites More