Quantcast

Forums | MacLife

You are not logged in.

#1 2006-02-25 6:30 pm

grapebluewhale
Member
Registered: 2003-02-25
Posts: 27

Got Burned Hacking

Hacked TCP/IP RWIN sucessfully from APR 02 article.  Was playing around to fine tune it, thought i changed recvspace and screwed it.  Now won't boot .  how do you 'see' private files like /etc/rc on active system.  I was going to replace hacked file with virgin file, thus eliminating rebuilding everything, can't see it to copy it off new system folder.

imac DV SE - 768 RAM, Panther 10.3.9


Making the Easy Impossible confused
ibook  1.42Gh 1.5 GB ram, OS10.4.11

Offline

 

#2 2006-02-25 8:20 pm

resedit
Chicken Little
Royal Wombat
From: /dev/null
Registered: 1999-11-01
Posts: 51763
Website

Re: Got Burned Hacking

It doesn't display with ls -al?

Last edited by resedit (2006-02-25 8:20 pm)


There are two kinds of people who keep rattlesnakes.
Those who have been bit, and those who will be bit. - Al Wolf.

Offline

 

#3 2006-02-26 11:52 am

grapebluewhale
Member
Registered: 2003-02-25
Posts: 27

Re: Got Burned Hacking

can i open old system files with terminal?  It always opens on to active system.  Need to tell it to look under old system name


Making the Easy Impossible confused
ibook  1.42Gh 1.5 GB ram, OS10.4.11

Offline

 

#4 2006-02-26 12:14 pm

djdawson
Member
From: Minnesota, USA
Registered: 2001-04-19
Posts: 1860

Re: Got Burned Hacking

Yes, you should be to see and do everything via the Terminal, though you'll need to use an admin account and the "sudo" command, since the files involved are not public writable.  If you "cd /Volumes" that'll take you to the top-level directory, from which you should be able to navigate to other partitions, etc.

HTH - Good luck!


Dana
[MA]{O}FSG

Offline

 

#5 2006-02-28 7:34 am

grapebluewhale
Member
Registered: 2003-02-25
Posts: 27

Re: Got Burned Hacking

finally just reloaded operating system - i've got lots to learn about playing around in terminal!!!

Making the easy imposible - that's me   confused


Making the Easy Impossible confused
ibook  1.42Gh 1.5 GB ram, OS10.4.11

Offline

 

#6 2006-02-28 9:29 am

ElectricSheep
Member
Registered: 2003-07-20
Posts: 109

Re: Got Burned Hacking

For what its worth, you don't need to hack the /etc/rc file to adjust your TCP recv window size (or any other sysctl variable, for that matter).

Create the file /etc/sysctl.conf (if it doesn't exist already), and drop your settings in there. The format of the file is as follows:

variable1=value1
variable2=value2
...

In your case, the file would appear as:

Code:

net.inet.tcp.sendspace=131072
net.inet.tcp.recvspace=358400

(put your own values in there)

Offline

 

#7 2006-02-28 4:40 pm

Egress
Connoisseur of Eyebrows
From: Rockville, Maryland, USA
Registered: 2000-02-05
Posts: 5049

Re: Got Burned Hacking

You've messed around with an OS and had to re-install?

Join the club. How many times have I done that? Maybe ten times or so, with various operating systems.


Hey!!! Was that Pithy? Got a twenty?

Offline

 

#8 2006-03-01 2:38 pm

grapebluewhale
Member
Registered: 2003-02-25
Posts: 27

Re: Got Burned Hacking

Ya - and since upgraded to 10.3.9 from 10.3.5, software restore on original doesn't like me.

Of course that hasn't prevented me from hacking ala terminal - but i'm much better at starting the whole shebang over again.


Making the Easy Impossible confused
ibook  1.42Gh 1.5 GB ram, OS10.4.11

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson