Monday, September 17, 2007

"Hacking"

Hacking, is an art, in that, it needs common sense and you be able to think liberally. Just as japanese fighting techniques teach you,"You must be able to see underneath he underneath". Your eyes should spot a problem as fast as a p4 pc can add 2 and 2. A good hacker must know about hardware. Just learning multiple languages is not enough, play with them, spin your imagination, write codes by yourself, find flaws, think and act smart. Hacking is not cracking that harms someone.. yes some people think its negative part only.. but, Hacking is not a product its a process thats keeps evolving. so! keep learning... and plz dont say it as law breaking kind of thing..

"-just think once more and you will find the solution"
-Ravi Kumar Gupta A.K.A D'Maverick

Messenger : A very nice tool of windows..

hi all,
do you know that windows xp has its own messenger.. i m not talking about the windows live or that messenger that looks like yahoo etc. ... a command line tool of windows...

let me explain this..

first open control panel -> administrative tools -> services -> and switch on the messenger service...

now open command prompt..
type->
net view [press enter]
now u will get a list of computers running at that time in your network..
now u can communicate any of those computer but they must have the messenger service running..
actually before service pack 2 it was always on in windows XP but after sp2 it was disabled..

so now we are going to send message

like a computer "volant" is running..

so net view will sow this like
\\volant
now u type ->
net send volant "your-message" [press enter]

and this will deliver your message..
there are more with this net command..
like ->net share -> this will show ur sharings...
etc..
so did u enjoyed..
thnx...
-Ravi Kumar Gupta A.K.A. "D'Maverick"

Wednesday, September 5, 2007

Google : The beautiful mind

Hi all,

have u tried google image labeler..

http://images.google.com/imagelabeler/

it is very simple and interesting also..

the
main thing is that google has started it like a game and ultimately the
image search of google will be more efficient as the images are labeled
acc. to user choices and ofcourse some great algos to determine a
label for an image.

According to the google

Google Image Labeler,
a new feature of Google Image Search that allows you to label random
images to help improve the quality of Google's image search results.

How does it work?

You'll
be randomly paired with a partner who's online and using the feature.
Over a two-minute period, you and your partner will be shown the same
set of images and asked to provide as many labels as possible to
describe each image you see. When your label matches your partner's
label, you'll earn points depending on how specific your label is.
You'll be shown more images until time runs out. After time expires,
you can explore the images you've seen and the websites where those
images were found. And we'll show you the points you've earned
throughout the session.

What is required to participate?

Just
an interest in helping Google improve the relevance of image search
results for users like yourself. Although you do not have to log in to
your Google account to help, logging in will allow you to keep track of
your points. You can also choose to provide a nickname, or you can
remain anonymous.

enjoy

Ravi Kr. Gupta

http://ravigupta.110mb.com/
http://www.freewebs.com/ravikr_lnmiit
http://blogsense.iblogger.org/lnmiit.ravi
http://blogs.ibibo.com/techD

Useful ebook sites.. my great collection

hi all,

as we can not buy all the books we want to read so we read that content from websites or from ebooks...

More on this.. the best reference is the wikipedia for all types..

but i m providing some ebook-sites and in future i will be adding more in this post..

My favorite is http://www.flazx.com/

http://online-books-reference.blogspot.com/

http://www.googlebooks.tk/

Compilers and Languages Books
http://online-books-reference.blogspot.com/2005/11/free-online-compilers...
Books and articles on Compilers and Programming Languages lex yacc
review

Database Books
http://online-books-reference.blogspot.com/2005/11/free-online-database-...
Book on Database Theory Books

Data structures and Algorithms Books
http://online-books-reference.blogspot.com/2005/11/free-online-data-stru...
Books on Datastructures and Algorithms complexity graphics adaptive
programming patterns

Hardware Books
http://online-books-reference.blogspot.com/2005/11/free-online-hardware-...
Books on Computer Hardware Theory Books architecture digital systems

Mathematics Books
http://online-books-reference.blogspot.com/2005/11/free-online-mathemati...
Books on Computing and Mathematics discreate neural nets numerical
recipes

Other Computer Science Books
http://online-books-reference.blogspot.com/2005/11/free-online-other-com...
Other Computer Science Books Computer Vision Artificial Intelligence

Networking Books
http://online-books-reference.blogspot.com/2005/11/free-online-networkin...
Networking Theory Books TCP/IP Validation Protocols

Operating Systems Books
http://online-books-reference.blogspot.com/2005/11/free-online-operating...
Books on Operating Systems theory kernel methods BIOS exokernel NTFS
plug and play

http://alltutes.blogspot.com/2006/05/networking-books.html

http://babis.homeip.net/computers/

http://www.giuciao.com/books/sorted.php?by=Linux&ord=id

http://dotnetguide.50webs.com/

http://www.usabooks.org/child11.htm

http://ebook.blogfa.com/

http://babis.homeip.net/computers/



http://rapidshare-links.110mb.com/
http://freeinformation.110mb.com/
http://computerebook.blogspot.com/
http://yredd.blogspot.com/2007/05/ebook-download-links.html
http://techdc.blogspot.com/2007/09/useful-ebook-sites-my-great-collection.html
http://www.apress.com/ApressCorporate/supplement/1/83/1893115623-454.pdf
http://top-resource.blogspot.com/2007/06/free-java-ccna-ccie-ccnp-j2ee-j2me.html
http://elibrary.fultus.com/technical/index.jsp
http://allfree.fermanaziz.com/
http://www.free-ebooks-downloads.net/




Will add more in the future as i find.. so keep watching..

Ravi Kr. Gupta

http://ravigupta.110mb.com/
http://www.freewebs.com/ravikr_lnmiit
http://blogsense.iblogger.org/lnmiit.ravi
http://blogs.ibibo.com/techD

Chapter two : Linux commands

hi all,

here are some linux commands...

alias Create an alias

apropos Search Help manual pages (man -k)

awk Find and Replace text, database sort/validate/index

break Exit from a loop

builtin Run a shell builtin

bzip2 Compress or decompress named file(s)

cal Display a calendar

case Conditionally perform a command

cat Display the contents of a file

cd Change Directory

cfdisk Partition table manipulator for Linux

chgrp Change group ownership

chmod Change access permissions

chown Change file owner and group

chroot Run a command with a different root directory

cksum Print CRC checksum and byte counts

clear Clear terminal screen

cmp Compare two files

comm Compare two sorted files line by line

command Run a command - ignoring shell functions

continue Resume the next iteration of a loop

cp Copy one or more files to another location

cron Daemon to execute scheduled commands

crontab Schedule a command to run at a later time

csplit Split a file into context-determined pieces

cut Divide a file into several parts

date Display or change the date & time

dc Desk Calculator

dd Data Dump - Convert and copy a file

declare Declare variables and give them attributes

df Display free disk space

diff Display the differences between two files

diff3 Show differences among three files

dir Briefly list directory contents

dircolors Colour setup for `ls'

dirname Convert a full pathname to just a path

dirs Display list of remembered directories

du Estimate file space usage

echo Display message on screen

egrep Search file(s) for lines that match an extended expression

eject Eject removable media

enable Enable and disable builtin shell commands

env Environment variables

ethtool Ethernet card settings

eval Evaluate several commands/arguments

exec Execute a command

exit Exit the shell

expand Convert tabs to spaces

export Set an environment variable

expr Evaluate expressions

false Do nothing, unsuccessfully

fdformat Low-level format a floppy disk

fdisk Partition table manipulator for Linux

fgrep Search file(s) for lines that match a fixed string

file Determine file type

find Search for files that meet a desired criteria

fmt Reformat paragraph text

fold Wrap text to fit a specified width.

for Expand words, and execute commands

format Format disks or tapes

free Display memory usage

fsck File system consistency check and repair

ftp File Transfer Protocol

function Define Function Macros

gawk Find and Replace text within file(s)

getopts Parse positional parameters

grep Search file(s) for lines that match a given pattern

groups Print group names a user is in

gzip Compress or decompress named file(s)

hash Remember the full pathname of a name argument

head Output the first part of file(s)

history Command History

hostname Print or set system name

id Print user and group id's

if Conditionally perform a command

import Capture an X server screen and save the image to file

install Copy files and set attributes

join Join lines on a common field

kill Stop a process from running

less Display output one screen at a time

let Perform arithmetic on shell variables

ln Make links between files

local Create variables

locate Find files

logname Print current login name

logout Exit a login shell

look Display lines beginning with a given string

lpc Line printer control program

lpr Off line print

lprint Print a file

lprintd Abort a print job

lprintq List the print queue

lprm Remove jobs from the print queue

ls List information about file(s)

lsof List open files

make Recompile a group of programs

man Help manual

mkdir Create new folder(s)

mkfifo Make FIFOs (named pipes)

mkisofs Create an hybrid ISO9660/JOLIET/HFS filesystem

mknod Make block or character special files

more Display output one screen at a time

mount Mount a file system

mtools Manipulate MS-DOS files

mv Move or rename files or directories

netstat Networking information

nice Set the priority of a command or job

nl Number lines and write files

nohup Run a command immune to hangups

passwd Modify a user password

paste Merge lines of files

pathchk Check file name portability

ping Test a network connection

popd Restore the previous value of the current directory

pr Prepare files for printing

printcap Printer capability database

printenv Print environment variables

printf Format and print data

ps Process status

pushd Save and then change the current directory

pwd Print Working Directory

quota Display disk usage and limits

quotacheck Scan a file system for disk usage

quotactl Set disk quotas

ram ram disk device

rcp Copy files between two machines.

read read a line from standard input

readonly Mark variables/functions as readonly

remsync Synchronize remote files via email

return Exit a shell function

rm Remove files

rmdir Remove folder(s)

rsync Remote file copy (Synchronize file trees)

screen Terminal window manager

scp Secure copy (remote file copy)

sdiff Merge two files interactively

sed Stream Editor

select Accept keyboard input

seq Print numeric sequences

set Manipulate shell variables and functions

sftp Secure File Transfer Program

shift Shift positional parameters

shopt Shell Options

shutdown Shutdown or restart linux

sleep Delay for a specified time

sort Sort text files

source Run commands from a file `.'

split Split a file into fixed-size pieces

ssh Secure Shell client (remote login program)

strace Trace system calls and signals

su Substitute user identity

sum Print a checksum for a file

symlink Make a new name for a file

sync Synchronize data on disk with memory

tail Output the last part of files

tar Tape ARchiver

tee Redirect output to multiple files

test Evaluate a conditional expression

time Measure Program running time

times User and system times

touch Change file timestamps

top List processes running on the system

traceroute Trace Route to Host

trap Run a command when a signal is set(bourne)

tr Translate, squeeze, and/or delete characters

true Do nothing, successfully

tsort Topological sort

tty Print filename of terminal on stdin

type Describe a command

ulimit Limit user resources

umask Users file creation mask

umount Unmount a device

unalias Remove an alias

uname Print system information

unexpand Convert spaces to tabs

uniq Uniquify files

units Convert units from one scale to another

unset Remove variable or function names

unshar Unpack shell archive scripts

until Execute commands (until error)

useradd Create new user account

usermod Modify user account

users List users currently logged in

uuencode Encode a binary file

uudecode Decode a file created by uuencode

v Verbosely list directory contents (`ls -l -b')

vdir Verbosely list directory contents (`ls -l -b')

vi Text Editor

watch Execute/display a program periodically

wc Print byte, word, and line counts

whereis Report all known instances of a command

which Locate a program file in the user's path.

while Execute commands

who Print all usernames currently logged in

whoami Print the current user id and name (`id -un')

Wget Retrieve web pages or files via HTTP, HTTPS or FTP

xargs Execute utility, passing constructed argument list(s)

yes Print a string until interrupted

.period Run commands from a file

### Comment / Remark

enjoy my blog..

--Ravi Kumar Gupta
http://blogs.ibibo.com/techd
http://techdc.blogspot.com/
http://blogsense.iblogger.org/lnmiit.ravi
http://lnmiit.blogspot.com/

Hack or Customization

hi everybody,

comin
to the topic.. what u think when u change some system settings tht were
defined by operating system when it was installed.. just cusomization
or a hack?

ok what i think is that if we are using windows which
generally dont allow us to customize; it is called a hack or in case of
linux which is opensource its nothing.. but they provided u the
facility to make that as u wish..

And when we so called hack our windows it looks great that time..

so
i will be posting some interesting posts here.. like changing start
button text and image, changing the boot window, along with some more
hacks..

-enjoy

--Ravi Kumar Gupta
http://blogs.ibibo.com/techd
http://techdc.blogspot.com/
http://blogsense.iblogger.org/lnmiit.ravi
http://lnmiit.blogspot.com/

Get ur computer in speed..

hi all,

today i was answering a question "to increase the speed of the computer.. "

some
users suggested to increase the ram and some suggested to remove
unnecessary processes... But that is not the perfect solution.. becoz
one program one theme one virus can still make ur computer to run at
slower speed which ultimately suxxxxx...

So what shud be done..

upgrading the ram is a solution but why more ram is needed

  • if u play big games on ur computer then u must upgrade...
  • if u are using a theme just remove this.. or if u really want it then upgrade ram
  • if u run large applications then upgrade..
  • if u dont want to handle the things in detail then upgrade..

But this is not wise solution.. so

Stop unnecessary services; but how..

for more details go here http://www.ss64.com/ntsyntax/services.html

learn which services u shud keep runnig

Remove themes and use classic themes..

go to system properties by win+pause/break or right click on the mycomputer icon and select properties..

then
move to advance tab then in performance select settings then in visual
effects select custom and then unselect allthe options in window.. u
can leave second last and third last options. press ok..

Actually u shud read them also.. so that u will know that what u are closing..

pressing ok will take few seconds and then u will be in classic theme.

this will increase ur speed.

Keep Defragmenting ur computer once in two months

right
click on the drive and select properties.. from tools select defrag
option and then defrag all the drives make sure that the drive is 15%
empty as it says..

Use a better antivirus

Nod32 is a really nice antivirus and it updates daily frequently

it is better than anyother becoz..

it
is free for 30 days and reinstalling after 30 days it can be reused it
will not say like other softwares that it is expired and u have to
register it

from norton pt of view.. it is faster than norton and doesnt slow down the computer like mcfee or avast or sometimes avg.

Use a better firewall

like zone firewall

or like outpost firewall

Be Updated with autopatcher

autopatcher
is a really nice software pack that updates windows, it updates mainly
security updates are like they donot let viruses enter in comp easily
in absence of an antivirus for a while..

Remove Startup programs

open run dialog box and type msconfig

then in start up section keep only antivirus program remove all other programs..

Also there are some registry tweaks to make faster shudown and startup

i will be covering that part in the next section of the blog

till then enjoy

--Ravi Kumar Gupta
http://blogs.ibibo.com/techd
http://techdc.blogspot.com/
http://blogsense.iblogger.org/lnmiit.ravi
http://lnmiit.blogspot.com/

A very nice trick of java..

We dont know how to create a program for ping like networking tool..
but we know that windows uses it.. and its own it... So its a trick to
use any service/tool of the windows or any operating system..

Java
Runtime can execute any tool for us.. and we can get input stream and
output stream of that tool.. so I think if u are a java programmar; u
got my poin..

here is an example of this..

DefaultListModel model = new DefaultListModel();
Runtime r = Runtime.getRuntime();
try {
InputStream i = r.exec("tasklist /v").getInputStream();
BufferedReader br = new BufferedReader(new InputStreamReader(i));

String str = br.readLine();
while(br.readLine()!=null){
model.addElement(str);
str = br.readLine();
}
} catch (IOException ex) {
ex.printStackTrace();
}

this shows a complete list of running tasks on our computer...

so
if we know a specific tool that is used for desired purpose like
ping... use ping to be run and get input stream and then u have created
a program like ipscanner or a ping utility for any platform...

also i think that the same concept can be used in any language..

enjoy the tricks

--Ravi Kumar Gupta
http://blogs.ibibo.com/techd
http://techdc.blogspot.com/
http://blogsense.iblogger.org/lnmiit.ravi
http://lnmiit.blogspot.com/

Boot.ini :The main gate of windowsXP as it looks

hi friends,

Do you know what is boot.ini?

If you know then its very fine but in case u dont know..

Assuming u r running a windows XP machine...

press win+r it will open run dialog box... type cmd

ok here is ur command prompt..

type => cd \

now u are in the top level of the directory and where ur boot.ini will be

type => attrib -r -s -h boot.ini

type => notepad boot.ini

it will be like

[boot loader]

timeout=10

default= multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn /bootlogo

this has the information of kernel to be started when computer starts.. timeout in case u have multiple kernels..

u can change it but be carefull

[boot loader]

timeout=10

default= multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Volant -Hacked Boot Window" /fastdetect /NoExecute=OptIn /bootlogo

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn /bootlogo

Like here i have added one line which will show the "Volant -Hacked ...."

although
this will boot the same kernel but will show options to select one of
the two within the time of timeout.. u can addmany more.. its up to ur
choice...

this is the simple basic abt boot.ini or say intro of boot.ini to the newbies..

later i will post a hack that will change ur boot window also..

enjoy..

more on this

http://en.wikipedia.org/wiki/NTLDR


Ravi Kumar Gupta
http://blogs.ibibo.com/techd
http://techdc.blogspot.com/
http://blogsense.iblogger.org/lnmiit.ravi
http://lnmiit.blogspot.com/

The First Chapter : Windows Introduction

hi all,

this is a very common topic, commands are the key to
make us learning fast and also these make us more curious abt knowing
the system we are using.. so these are some shortcuts.. some of them
are like we didn't know or read anytime

CTRL and A Selects all the items in the active window.

CTRL and C Copies the item or items to the Clipboard and can be pasted using CTRL and V.

CTRL and F Displays the Find all files dialog box.

CTRL and G Displays the Go to folder dialog box.

CTRL and N Displays the New dialog box.

CTRL and O Displays the Open dialog box.

CTRL and P Displays the Print dialog box.

CTRL and S Displays the Save dialog box.

CTRL and V Pastes the copied item or items from the Clipboard.

CTRL and X Cuts the item or items selected to the Clipboard.

CTRL and Z Undoes the last action.

CTRL and F4 Closes the active document window.

CTRL while dragging an item Copy the selected item

CTRL+SHIFT with arrow keys Highlight a block of text

CTRL+F4 Close the active document

CTRL+ESC Display the Start menu

CTRL and F6 Opens the next document window in the active application.

ALT+ENTER View the properties for the selected item

ALT+F4 Close the active item, or quit the active program

ALT+SPACEBAR Open the shortcut menu for the active window

ALT+TAB Switch between the open items

ALT+ESC Cycle through items in the order that they had been opened

F1 key Gives help on the active window or selected item.

F2 key Rename the selected item

F3 key Search for a file or a folder

F4 key Display the Address bar list in My Computer or Windows Explorer

F5 key Update the active window

F6 key Cycle through the screen elements in a window or on the desktop

F10 key Activate the menu bar in the active program

Windows Logo Display or hide the Start menu

Windows Logo+BREAK Display the System Properties dialog box

Windows Logo+D Display the desktop

Windows Logo+M Minimize all of the windows

Windows Logo+SHIFT+M Restore the minimized windows

Windows Logo+E Open My Computer

Windows Logo+F Search for a file or a folder

CTRL+Windows Logo+F Search for computers

Windows Logo+F1 Display Windows Help

Windows Logo+ L Lock the keyboard

Windows Logo+R Open the Run dialog box

Windows Logo+U Open Utility Manager

TAB Move forward through the options

SHIFT+TAB Move backward through the options

CTRL+TAB Move forward through the tabs

CTRL+SHIFT+TAB Move backward through the tabs

ALT+Underlined letter Perform the corresponding command or select the corresponding option

ENTER Perform the command for the active option or button

SPACEBAR Select or clear the check box if the active option is a check box

F1 key Display Help

F4 key Display the items in the active list

Arrow keys Select a button if the active option is a group of option buttons

BACKSPACE Open a folder one level up if a folder is selected in the Save As or Open dialog box

END Display the bottom of the active window

HOME Display the top of the active window

NUM LOCK+Asterisk sign (*) Display all of the subfolders that are under the selected folder

NUM LOCK+Plus sign (+) Display the contents of the selected folder

NUM LOCK+Minus sign (-) Collapse the selected folder

LEFT ARROW Collapse the current selection if it is expanded, or select the parent folder

RIGHT ARROW Display the current selection if it is collapsed, or select the first subfolder

enjoy..

Ravi Kumar Gupta
http://blogs.ibibo.com/techd
http://techdc.blogspot.com/
http://blogsense.iblogger.org/lnmiit.ravi
http://lnmiit.blogspot.com/

Saturday, September 1, 2007

TechD of Computer World

Hi all,

this is my first blog, I want to share knowledge about computer science. It may be hardware related like about new PCs or Laptops, motherboards, apple generated something.. or software like operating system involving tips and tricks, new softwares, some customizations,hacks etc. and any knowledge related networking,dbms, anything that is related to the computer science and networking.. ok.

enjoy learning