Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 21-12-2004, 07:35 AM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Oct 2004
Location: Moran
Posts: 23
Default Hacking Notepad


Hacking Notepad
[By a novice for novice]

(As pointed out by GNUrag ... I'v deleted the change in copyrighted information.)


....Well this has been done many times before!
But I have given it my own twist(?).
Hope you like it.

Tools:………

Resource Hacker and …. Notepad!

Get resource hacker from November Digit CD/DVD. Notepad.exe file
can be found in C:\windows and C:\windows\system folder.
Copy one to desktop. First of all give it a new name like MyPad or something like that . Now

open reshhacker and drag the renamed exe file into it.

Change Icon: .........

First the easyest one. Go to Icon Group. There is only one entry '2'. Expand

it and select 1033. Right click on it and choose "Replace
Resources". Now on the newly opened dialog box click on ‘Open file with
new Icon’....and select the icon that you'll use as the Icon for "Mypad". You can save the file

now and notice the changed Icon. (if you
can't just refresh the desktop!)

Change Name: ..........

If you open the "Mypad" now you'll see that the name notepad is
still shown in the Tital bar. To change that, in the Resource Hacker go
to String Table#1 Select 1033 and you'll see
Sevaral lines of strings on the right hand pane. Out of these lines
numbered 5 and 9 are important. You might have understand by now that
we need to change "Notepad" to "Mypad" or whatever the name you have
chosen. You can also do that in line numbered 8 also (appears in
dialogue box). Now hit the 'compile Script' button to compile. This will
make title bar to show the new name.


Change Menus: ..........

What I always wanted was a quicker access to different options.
As there is no option of toolbar in Notepad I made the menu bar into a
Toolbar! To do that in Resource Hacker go to Menu#1.

I’ve changed the entries to followings...


1 MENU
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
MENUITEM "[&New]", 1
MENUITEM "[&Open]", 2
MENUITEM "[&Save]", 3
MENUITEM "[&Find]", 21
MENUITEM "[Fon&t]", 33
POPUP "[&Option]"
{
MENUITEM "&Word Wrap", 32
MENUITEM "&Status Bar", 27
MENUITEM "Page Set&up", 5
MENUITEM "&Print", 6
MENUITEM "&Replace...\tCtrl+H", 23
MENUITEM "&Go To...\tCtrl+G", 24
}
MENUITEM "[E&xit]", 7
}

As you can see apart from 'Option' no Popup menus will appear.
(you might not like this but I’ve found it interesting)

You can copy past from mine or you can experiment little bit yourself.
(..be careful about the curly brackets.)

After that don’t forget to compile it. Now save it and you are done!!

A new looked notepad errrr.. Mypad.

Final Tip: ...........

Make Mypad work bit like sticky. Create a shortcut of MyPad. Now right click on shortcut

and go to properties. There in the target box add the link to a blank text file.
for example

"c:\MyPad.exe" D:\Docs\notes.txt

Thats it!

Same can be done by creating shortcut of the textfile but that would not look cool (..............Ok that was pathetic )
__________________
-----------for one more time
majig is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 21-12-2004, 07:57 AM   #2 (permalink)
Let the music play.....
 
djmykey's Avatar
 
Join Date: Dec 2003
Location: Pune
Posts: 665
Default

I ve done it a long time ago tho that was really good 1.
__________________
Long back, a person who sacrificed his sleep, forgot his family, forgot his food, fogot laughter were called "Saints"
But now they are called.."IT professionals"
djmykey is offline  
Old 21-12-2004, 08:05 AM   #3 (permalink)
The Photoshop Guy
 
cooljeba's Avatar
 
Join Date: Jun 2004
Location: On Your monitor!
Posts: 562
Default

nice info there dude.....

let me try it out someday soon

..:: peace ::..
Jeba
cooljeba is offline  
Old 21-12-2004, 11:07 AM   #4 (permalink)
QA Juggler
 
saROMan's Avatar
 
Join Date: Aug 2004
Location: format c: /s/u/x
Posts: 801
Default

Hey Nice info..bro......let me give it a try.......
__________________
8-) सारोमान :!: :!: :!:
saROMan is offline  
Old 21-12-2004, 05:37 PM   #5 (permalink)
Apprentice
 
Join Date: Jan 2004
Posts: 72
Default

thats something have already tried
funkiguy_me is offline  
Old 21-12-2004, 07:34 PM   #6 (permalink)
In The Zone
 
Join Date: May 2004
Location: Locating....Locating....Access Denied!
Posts: 320
Default

I tried it just two weeks back.
__________________
Simple things are to simple too understand.
Prashray is offline  
Old 21-12-2004, 11:00 PM   #7 (permalink)
Broken In
 
Join Date: Oct 2003
Location: France
Posts: 137
Default

this might seem a bit out of context but i have [rather had] heard that we can open any file in hex mode also using notepad...anybody knows how??

Hitesh
__________________
There are only 10 type of people in world...
1 who understand binary..
&
1 who don't
hitesh_hg is offline  
Old 21-12-2004, 11:41 PM   #8 (permalink)
In The Zone
 
Ashis's Avatar
 
Join Date: Aug 2004
Location: Bhubaneswar
Posts: 339
Default

Ha Ha Ha ...... Funny Isn't it!

Try hacking Windows & Change Its Name To majig

But Good Try....

It is Inspiring. Keep It Up
Ashis is offline  
Old 22-12-2004, 11:42 AM   #9 (permalink)
h4ck3r
Guest
 
Posts: n/a
Default Post something new...


I DID THIS A YEAR BEFORE. SO TRY POSTING SOMETHING NEW



8) 8) 8) 8) 8) TILL THEN ITS H4CK3R
 
Old 22-12-2004, 12:57 PM   #10 (permalink)
Right Off the Assembly Line
 
Join Date: Oct 2004
Location: Moran
Posts: 23
Default [b]Hacking Notepad Part - 2[/b]

Thanx.. for any one who liked my post. And a big Sorry for the rest.....

Now I am going to write about what i did to the Dialog boxes.

For this again Open MyPad(previously known as Notepad) in Resource Hacker. Go to Dialog-#NPENCODINGDIALOG. As you can see this dialog get attach to the OpenSave Dialog box.

I don’t know about You but I have habits of saving files with dates
and a bad one of forgetting Dates. So what I did was enter Date-Time right into the OpenSave Dialog box.

For this First resize the Dialog box. You can do that using mouse and drag it. Just the way you do in any window. For the moment just drag downwards. Right click on the dialog box and select 'insert control'. In the newly opened Control box select "SysDateTimePic2". which is in the second row of controls, fourth from the right(Written Dec16 in blue). Right at the bottom of the control box there are see two panes. On the right pane you 'll see DTS_SHORTDATEFORMAT is selected. Change that to DTS_LONGDATEFORMAT and hit OK. Now in the dialog SysDateTime will
appear in the dialog box. Resize it to the size of encoding combobox and drag it to the below combobox. See that distance between the combobox don’t get too big or too small. It would look ugly. Resize the dialog box. Do not forget to compile now.

In this way you can also add icon, bitmaps, animation,.. etc to the dialog boxes. For example we can add a picture as the background for the PageSetup Dialog box. For this U'll need a bitmap file of about 500x375 Pixels. (if want to use that cool pic in jpeg just Convert that to .bmp using IrfanView or mspaint.)

In the resource hacker go to Action -> 'Add a new Resource'. There open the bitmap file. 'Resource name' box enter a name for the bitmap. You can use both numbers or texts. And click add resource.

Then go to Dialog-#12 and insert the bitmap just like the Date-Time. In this case u'll have to select the control in second row third from the left(one with a tree). In the Caption box enter the name of the bitmap u had given and hit OK.

Now in the right hand pane at the bottom you'll find a new line added something like

CONTROL "XXX", 0, STATIC, SS_BITMAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 259, 210, 333, 231

("XXX"is the name of the bitmap)

Cut this line from here and past it right after the first curly brackets. You can drag the bitmap using mouse or just change the first two numbers at the end to 1. i.e.

CONTROL "XXX", 0, STATIC, SS_BITMAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 1, 1, 333, 231

Now compile it to see the changes and resize the dialog box to that of the bitmap. See that bit maps do not touch the borders of the dialog box. Then move or resize the controls in dialog box to your liking and compile it. Beware.... labels are not transparent looks bit ugly.

One more thing all these hack can be also done in MSPaint as well........

Ashis wrote:

Quote:
Try hacking Windows & Change Its Name To majig
will try that.... But where do you exectly want me to change
__________________
-----------for one more time
majig is offline  
Old 22-12-2004, 08:22 PM   #11 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default

You guys are discussing how to reverse engineer an integral component of Windows XP, and for everyone's information, according to the Windows XP EULA, reverse engineering of any sort is a criminal offence.

What do you guys think of ?
__________________
- --
http://web.gnuer.org
GNUrag is offline  
Old 22-12-2004, 09:20 PM   #12 (permalink)
Another Brick in the Wall
 
drgrudge's Avatar
 
Join Date: Jul 2004
Location: Dubai/Chennai
Posts: 3,027
Default

Good info and had fun doing so.....
__________________
I Love Photography. I Love Aperture. I Love Mac.
drgrudge is offline  
Old 22-12-2004, 11:52 PM   #13 (permalink)
Right Off the Assembly Line
 
Join Date: Oct 2004
Location: Moran
Posts: 23
Default

Reverse engineering ?

Was it?

No clue!

I thought it was just modding!

Is changing icon or renaming a software is Reverse engineering?
__________________
-----------for one more time
majig is offline  
Old 23-12-2004, 01:24 PM   #14 (permalink)
h4ck3r
Guest
 
Posts: n/a
Default no yo must understand correctly

U see majig... these tweaks are very old stuph...and to this now is a waste of time... its also criminal offence becoz you are not authorized to modify a single line of code..and rev.engg means cracking..There exists a serch engine called kazaa..dunno whether majig is aware of it or not..just try serching for reverse code engg..or similar string or goto the emperor g00gle himself 8)
 
Old 23-12-2004, 03:40 PM   #15 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default

Quote:
Originally Posted by majig
Is changing icon or renaming a software is Reverse engineering?
Yes it is. Read your Microsoft Windows EULA again carefully !!!
__________________
- --
http://web.gnuer.org
GNUrag is offline  
Old 23-12-2004, 09:34 PM   #16 (permalink)
Right Off the Assembly Line
 
Join Date: Oct 2004
Location: Moran
Posts: 23
Default

h4ck3r wrote:

Quote:
... these tweaks are very old stuph...and to this now is a waste

of time... its also criminal offence becoz you are not authorized to

modify a single line of code..and rev.engg means cracking..

I know what rev.engg means. So I felt that what I did was not

rev.engg. You say its criminal offence.......

Quote:
I DID THIS A YEAR BEFORE.
.....and You did it a year ago.

Well....... I never claimed they are new or original. Neither they
were meant for U. ...Your comments were very encouraging. Ok.. I was the

last person on earth who did it. But when i searched this forum i did not

found your guide... Don't keep them secret....do let us know about your
new and happening stuph.. or if somebody else write them don’t say
yea....been there ..... done that.....blaa.blaa.blaa


So GNUrag.... its criminal offence...... then definitely lot us do it judging by the replies . So is Digit asking us to change bitmap file in System property or changing windows default animation … Its iIllegal Isn’t it? Clarify me if I am wrong.
__________________
-----------for one more time
majig is offline  
Old 24-12-2004, 03:00 PM   #17 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default

Quote:
Originally Posted by majig
I know what rev.engg means. So I felt that what I did was not rev.engg. You say its criminal offence.......
Reverse engineering is illegal, but resource editing is not. You were trying to edit the resources of binary files which is not illegal, but editing product name and copyright information is again illegal.


Quote:
Originally Posted by majig
So GNUrag.... its criminal offence...... then definitely lot us do it judging by the replies . So is Digit asking us to change bitmap file in System property or changing windows default animation … Its iIllegal Isn’t it? Clarify me if I am wrong.
Changing bitmaps and icons may not be illegal but its quite a common sense that editing copyrighted information (or any textual information in general) can be an offence.
__________________
- --
http://web.gnuer.org
GNUrag is offline  
Old 25-12-2004, 08:14 AM   #18 (permalink)
Right Off the Assembly Line
 
Join Date: Oct 2004
Location: Moran
Posts: 23
Default

Thanx... GNUrag

I got your point....You are right.

See ...... I get things late and understand later...
__________________
-----------for one more time
majig is offline  
Old 27-12-2004, 11:56 AM   #19 (permalink)
h4ck3r
Guest
 
Posts: n/a
Default goto my forums

just know what rev engg is ?? gr8 ... if u wanna know more goto www.hnc3k.tk my forums ..and also google for the string +hcu ..before two years i was a hcu member ...for say 16 months..i think thats a feather in my hat..if u dunno the depth of rev engg better shut up !!
if u think u have gr8 skills try reversing some quality protections at www.crackmes.de (levels 1-3 are easy if go above 9 ..tht is level 10 u defeat me) coz me at level 9
 
Old 27-12-2004, 03:04 PM   #20 (permalink)
Human Spambot
 
Join Date: May 2004
Location: off to "never ever" land
Posts: 2,912
Default

Quote:
..if u dunno the depth of rev engg better shut up !!
h4ck3r one more useless lil peep outta u and ur gonna be reported !!
i think u better learn some forum etiquettes before blaring with ur cr@p posts
i just went thru a couple of them ...
useful as u may try to be .... u slip up quite a bit too.. specially against the forum rules
and i really dun care if ur the worlds best hacker /cracker or the biggest genius
stop being a pr!ck abt it
__________________
No Mercy, No Limits.
Oobertech.net - Keeping Knowledge Free
theraven is offline  
Old 27-12-2004, 04:06 PM   #21 (permalink)
Wise Old Owl
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,208
Default

LOL! All hail the Raven...u took the words right outta ma mouth....I just decided not to say anything abt it....LOL...sheesh...

Script Kiddies with SoftIce think they are hackers....lol....
__________________
AMD 64 3500+ Venice
DFI Lan Party Ultra-D
2* 512 MB PdP Memory with 2-2-5L timings
XFX 7900GT 256 MB Card
icecoolz is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by topgear
- by abhidev
- by clmlbx
- by Sarath

Advertisement




All times are GMT +5.5. The time now is 04:49 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2