berbagi-itu-indah-dan-menyenangkan

28 Juni, 2012

Cara install bash windows (Cygwin)


Oke kali ini saya akan menerangkan bagaimana cara menginstall bash console di windows, pertama download dulu Cgywin nya disini >> "Download cgwin". Setelah didownload lalu langsung di jalankan file setupnya secara online. Atau kalo mo alternatif offline disini >> "Download" nya.



INTRO(3) Cygwin INTRO(3)

NAME
intro - Introduction to the Cygwin API

DESCRIPTION
Cygwin is a UNIX environment, developed by Red Hat, for Windows. It
consists of two parts:

A DLL (cygwin1.dll) which acts as a UNIX emulation layer providing
substantial UNIX API functionality. This page describes the API pro-
vided by the DLL.

A collection of tools, ported from UNIX, which provide UNIX/Linux look
and feel. This environment is described in the intro(1) man page.

AVAILABILITY
Cygwin is developed by volunteers collaborating over the Internet. It
is distributed through the website http://cygwin.com. The website has
extensive documentation, including FAQ, User's Guide, and API Refer-
ence. It should be considered the authoritative source of information.
The source code, relased under the GNU General Public License, Version
2, is also availalbe from the website or one of the mirrors.

COMPATIBILITY
Cygwin policy is to attempt to adhere to POSIX/SUSv2 (Portable Operat-
ing System Interface for UNIX / The Single UNIX Specification, Version
2) where possible.

SUSv2 is available online at:

http://www.opengroup.org/onlinepubs/007908799/

For compatibility information about specific functions, see the API
Reference at:

http://cygwin.com/cygwin-api/cygwin-api.html

Where these standards are ambiguous, Cygwin tries to mimic Linux.
However, Cygwin uses newlib instead of glibc as its C Library, avail-
able at:

http://sources.redhat.com/newlib/

Keep in mind that there are many underlying differences between UNIX
and Win32 (for example, a case-insensitive file system), making com-
plete compatibility an ongoing challenge.

REPORTING BUGS
If you find a bug in Cygwin, please read

http://cygwin.com/bugs.html

and follow the instructions for reporting found there. If you are
able to track down the source of the bug and can provide a fix, there
are instructions for contributing patches at:

http://cygwin.com/contrib.html

COPYRIGHT
Cygwin is Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001,
2002, 2003, 2004, 2005 Red Hat, Inc.

Cygwin is Free software; for complete licensing information, refer to:

http://cygwin.com/licensing.html

MAINTAINER
This man page was written and is maintained by Joshua Daniel Franklin


REPORTING BUGS
If you find a bug in Cygwin, please read

http://cygwin.com/bugs.html

and follow the instructions for reporting found there. If you are
able to track down the source of the bug and can provide a fix, there
are instructions for contributing patches at:

http://cygwin.com/contrib.html

COPYRIGHT
Cygwin is Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001,
2002, 2003, 2004, 2005 Red Hat, Inc.

Cygwin is Free software; for complete licensing information, refer to:

http://cygwin.com/licensing.html

MAINTAINER
This man page was written and is maintained by Joshua Daniel Franklin




Oke sekarang kita test


server@lpia-server ~
$ whoami
server


Ref : cygwin.com

26 Juni, 2012

Refreshing RAM


Random access memory (RAM) is a form of computer data storage. Today, it takes the form of integrated circuits that allow stored data to be accessed in any order with a worst case performance of constant time. Strictly speaking, modern types of DRAM are not random access, as data is read in bursts, although the name DRAM / RAM has stuck. However, many types of SRAM, ROM, OTP, and NOR flash are still random access even in a strict sense. RAM is often associated with volatile types of memory (such as DRAM memory modules), where its stored information is lost if the power is removed. Many other types of non-volatile memory are RAM as well, including most types of ROM and a type of flash memory called NOR-Flash. The first RAM modules to come into the market were created in 1951 and were sold until the late 1960s and early 1970s. [1]



If you have trouble with your computer such as Hang, Lagh, or Crash Program maybe in your RAm have something trouble error, Okay now I want show you how to refresh our RAM in computer. Just simple tools in windows. Open your notepad and copy this script and paste in notepad then save as with any.vbs


FreeMem=(1280000000)
FreeMem=(2560000000)
FreeMem=(5120000000)
FreeMem=(10240000000)


I dont now how this work, but if you have some suggestion I would be thanks to put your comment with this tutorial.

Refrence :
[1]Wikipedia
[2]my friend (anitsuya)
[3]google



12 Juni, 2012

JHead for fun


Jhead adalah sebuah tools yang dapat memanipulasi source foto. Program jhead adalah program open source. Tools ini sebenarnya hanya sebuah tohttp://www.blogger.com/img/blank.gifols yang tidak terlalu bahaya ( kali yaaa ),tapi untuk para hacker banyak digunakan sebagai alat menanamkan backdoor ke sebuah target web.



How to use
==========

Disini saya gunakan adalah Jhead versi windows, maklum hanya ini yang saya punya ini pun punya kantor hehehehe ... :D. Oke langsung saja kita download dari source nya : Download Jhead. Pilih sesuai dengan versi OS yang kita gunakan.

Setelah kita download kita letakkan file di folder yang kita suka. Disini saya letakkan di drive C:. Buka cmd kemudian masuk ke path yang dituju. setelah itu kita running programnya :

C:\>jhead_2.exe -h
Jhead is a program for manipulating settings and thumbnails in Exif jpeg header

used by most Digital Cameras. v2.95 Matthias Wandel, Mar 16 2012.
http://www.sentex.net/~mwandel/jhead

Usage: jhead_2.exe [options] files
Where:
files path/filenames with or without wildcards
[options] are:

GENERAL METADATA:
-te Transfer exif header from another image file
Uses same name mangling as '-st' option
-dc Delete comment field (as left by progs like Photoshop & Compupic)
-de Strip Exif section (smaller JPEG file, but lose digicam info)
-di Delete IPTC section (from Photoshop, or Picasa)
-dx Deletex XMP section
-du Delete non image sections except for Exif and comment sections
-purejpg Strip all unnecessary data from jpeg (combines -dc -de and -du)
-mkexif Create new minimal exif section (overwrites pre-existing exif)
-ce Edit comment field. Uses environment variable 'editor' to
determine which editor to use. If editor not set, uses VI
under Unix and notepad with windows
-cs Save comment section to a file
-ci Insert comment section from a file. -cs and -ci use same naming
scheme as used by the -st option
-cl string Insert literal comment string

DATE / TIME MANIPULATION:
-ft Set file modification time to Exif time
-dsft Set Exif time to file modification time
-n[format-string]
Rename files according to date. Uses exif date if present, file
date otherwise. If the optional format-string is not supplied,
the format is mmdd-hhmmss. If a format-string is given, it is
is passed to the 'strftime' function for formatting
In addition to strftime format codes:
'%f' as part of the string will include the original file name
'%i' will include a sequence number, starting from 1. You can
You can specify '%03i' for example to get leading zeros.
This feature is useful for ordering files from multiple digicams t

sequence of taking. Only renames files whose names are mostly
numerical (as assigned by digicam)
The '.jpg' is automatically added to the end of the name. If the
destination name already exists, a letter or digit is added to
the end of the name to make it unique.
The new name may include a path as part of the name. If this path
does not exist, it will be created
-a (Windows only) Rename files with same name but different extension
Use together with -n to rename .AVI files from exif in .THM files
for example
-ta<+|->h[:mm[:ss]]
Adjust time by h:mm backwards or forwards. Useful when having
taken pictures with the wrong time set on the camera, such as when
traveling across time zones or DST changes. Dates can be adjusted
by offsetting by 24 hours or more. For large date adjustments,
use the -da option
-da-
Adjust date by large amounts. This is used to fix photos from
cameras where the date got set back to the default camera date
by accident or battery removal.
To deal with different months and years having different numbers o

days, a simple date-month-year offset would result in unexpected
results. Instead, the difference is specified as desired date
minus original date. Date is specified as yyyy:mm:dd or as date
and time in the format yyyy:mm:dd/hh:mm:ss
-ts


POC
===


C:\>jhead_2.exe -purejpg galau.jpg
Modified: galau.jpg

Command line "-purejpg galau.jpg" untuk membersihkan/menghapus isi dari file aslinya gambar. Setelah itu kita mulai menginjekkan kaki kita .... lho mengetikkan source code yang kita sudah siapkan.


C:\>jhead_2.exe -ce galau.jpg


Command line "-ce galau.jpg" untuk membuka dokumen gambar yang akan di inject. Apabila berhasil maka akan muncul notepad kosong yang siap kita isi setelah itu tinggal kita masukkan source code yang kita sudah siapkan lalu tekan save dan exit. setelah itu lakukan pengecekan.


C:\>jhead_2.exe galau.jpg
File name : galau.jpg
File size : 27712 bytes
File date : 2012:05:29 11:24:19
Resolution : 506 x 337
Comment : Abina azkia
Comment : was
Comment : here


http://www.************.com/wp-content/uploads/2012/06/

Index of /wp-content/uploads/2012/06

Parent Directory
LightningSiluetgirl.jpg
cybermeong.JPG
galau.jpg <---- tuch dia
jari.jpg


Oke sekian dulu. Seperti yang sudah - sudah just for fun only... :)).


ref : www.sentex.net

Arsip Blog