iccaros
Linux Experts-
Content Count
1292 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Everything posted by iccaros
-
Hooking Mac Mini Into Surround Sound
iccaros replied to bobgo2728's topic in Mac, iPhone, iPad, iPod
PCM is RAW... Also you have to set up audio on most DVD's to do 5.1 as they revert to stereo for default. also are you sending this audio to a TV then to a separate audio system.. if so under HDCP processing stereo is all you get. -
sorry http://www.nessus.org is free for home use and is more up to date than openvas
-
I may have good stuff.. I don't have it.. the second edition has out dated stuff, but the concepts work.. it teaches how to exploit and keep your system safe down to the software level. for example, to hack a web server it first teaches you how to write code for a web server so you can see how they parse HTML tools like nmap and http://www.openvas.org/ are very useful
-
here is a great place to start http://www.amazon.com/Hacking-Art-Exploita...4150&sr=8-1 This book goes into great detail on how to hack your systems..
-
ok change but I can noit get it to write to the file just standard output ADDLINE="\<rdp_server\ client_audio=\"$AUDIO\"\ color_depth=\"$COLOR\"\ comment=\"$COMMENT\"\ experience=\"$EXPERIENCE\"\ gateway=\"$GATEWAY\"\ geometry=\"$GEOMETRY\"\ ip=\"$IP\"\ submenu=\"$SUBMENU\"\ title=\"$TITLE\"\ \/>" #sed -e "s/^<rdp_server/$ADDLINE/1" $INFILE > $TMPFILE sed -e "/^<rdp_server/a$ADDLINE/" $INFILE -e "/^<rdp_server/q" < $INFILE
-
got it.. { ADDLINE="\<rdp_server\ client_audio=\"$AUDIO\"\ color_depth=\"$COLOR\"\ comment=\"$COMMENT\"\ experience=\"$EXPERIENCE\"\ gateway=\"$GATEWAY\"\ geometry=\"$GEOMETRY\"\ ip=\"$IP\"\ submenu=\"$SUBMENU\"\ title=\"$TITLE\"\ \/\>" #sed -e "s/^<rdp_server/$ADDLINE/1" $INFILE > $TMPFILE sed "0,/^<rdp_server/a$ADDLINE/" $INFILE > $TMPFILE } Thanks..
-
Knoppix.. Who knows.. maybe I should use awk... I am so out of bash scripting I feel dumb..
-
ok this is close <code> #Script Variables, hard coded values are site default AUDIO="On" COLOR="16" COMMENT="Created by addsub script" EXPERIENCE="0" GATEWAY="12.0.0.1" GEOMETRY="1660x1024" IP="" SUBMENU="" TITLE="" INFILE="./testfile" TMPFILE="./tempfile" function writeline() { ADDLINE="\<rdp_server\ client_audio=\"$AUDIO\"\ color_depth=\"$COLOR\"\ comment=\"$COMMENT\"\ experience=\"$EXPERIENCE\"\ gateway=\"$GATEWAY\"\ geometry=\"$GEOMETRY\"\ ip=\"$IP\"\ submenu=\"$SUBMENU\"\ title=\"$TITLE\"\ \/\>" sed -e "s/^<rdp_server/$ADDLINE/1" $INFILE > $TMPFILE } writeline </cod
-
hmmm but if i quote the variable is not passed its taken as a literal value I am writing this script to let a windows admin add line (questions will fill in the data later) so I am putting it in a script, if it was me I would just open the xml file and yyp the lines and edit them, but its not for me.. I don't have ed but thanks
-
really I want to find the first match then add my line, not to everyline that matches thanks I have been beeting my head on doing this in bash and python (my only choices besides pearl which I no nothing about)
-
going to this ADDLINE='<rdp_server client_audio=\"$AUDIO\" color_depth=\"$COLOR\" comment=\"$COMMENT\" experience=\"$EXPERIENCE\" gateway=\"$GATEWAY\" geometry=\"$GEOMETRY\" ip=\"$IP\" submenu=\"$SUBMENU\" title=\"$TITLE\" />' sed -e s/^<rdp_server/"$ADDLINE"/ $INFILE > $TMPFILE gives me knoppix@Microknoppix:~$ ./addsub ./addsub: line 27: rdp_server/<rdp_server client_audio=\"$AUDIO\" color_depth=\"$COLOR\" comment=\"$COMMENT\" experience=\"$EXPERIENCE\" gateway=\"$GATEWAY\" geometry=\"$GEOMETRY\" ip=\"$IP\" submenu=\"$SUBMENU\" title=\"$TITLE\" />/: No such file or directo
-
thanks for the reply but it still fails for me here is what I get./addsub: line 27: rdp_server/$ADDLINE/: ambiguous redirect knoppix@Microknoppix:~$ vi addsub knoppix@Microknoppix:~$ ./addsub ./addsub: line 27: rdp_server/$ADDLINE/: ambiguous redirect knoppix@Microknoppix:~$ vi addsub knoppix@Microknoppix:~$ ./addsub ./addsub: line 27: rdp_server/\<rdp_server client_audio="On"\ color_depth="16"\ comment="Created by addsub script"\ experience="0"\ gateway="12.0.0.1"\ geometry="90%"\ ip=""\ submenu="" title=""\ \/\>/: No such file or directory knoppix@Microknoppix:~$ here is the entir
-
I have a bash script where I am trying to get this funtion to work it needs to find the first instance of a line and append a line after it function writeline() { ADDLINE="\<rdp_server client_audio=\"$AUDIO\"\ color_depth=\"$COLOR\"\ comment=\"$COMMENT\"\ experience=\"$EXPERIENCE\"\ gateway=\"$GATEWAY\"\ geometry=\"$GEOMETRY\"\ ip=\"$IP\"\ submenu=\"$SUBMENU\" title=\"$TITLE\"\ \/\>" eval "sed -e s/^<rdp_server/$ADDLINE/ $INFILE > $TMPFILE" } both $INFILE and $TMPFILE are declared the error I get is ./addsub: line 24: rdp_server/<rdp_server: No such file or direc
-
thanks I will try this when I get back next week, and see if it fixes the issues they are having
-
Setting Up A Ubuntu Webserver To Test Wordpress
iccaros replied to Falcon1986's topic in Linux & Unix
there is no difference in the server version and the desktop version, except the GUI (server version has non by default). The only reason there is a Server version is because some people can not get out of their heads that they should be different. under system --> administration --> services you can set if a service starts or not at boot.. of wordpress it would be apache.. but as JCL stated.. both apache and mysql take almost no resources unless you are accessing them.. -
has anyone ran into this, and how to remove it.. I have deleted all of its files, and its registry keys that I can find.. This is a continuation of the last.. I removed the anti virus 2009 but this new one is worse..
-
Thanks, its not up to date.. It is still service pack 2 XP and what ever other rootkit is with the trojan is really hampering effects.
-
for most uses you will not notice any difference.. the intel may have better battery life, but there are other factors that may keep the AMD at a par for battery life.. I would use the AMD if you are not gaming (your video chip has way more impact on most games anyways) and get more memory for the money
-
Problems Installing Malwarebytes Anti-Malware
iccaros replied to fartlek's topic in Comments and Questions
I have tried this, no joy, malware bytes and hijackthis will not install.. sad... god I wish windows had a way of booting from a live cd so a app could fix it.. has anyone tested this as a cure http://www.freedrweb.com/livecd -
ok I have a neighbor who has been infected with at least antivirus 2009 The issue, Malware bytes will not install, it comes up with the choose language and a splash of the next screen before it is is killed. Jeff recommended that and I followed the site that rename malware bytes install, and runs some batch files,, but still no joy, no joy in safe mode. I have tried hijackthis.. no joy can't install even when renamed. Cdrom does not work in safe mode, when you try to explore it takes you to My documents. This is a nasty little bugger, and I am ready to just format and start over, but its not
-
no they are two different brands, Microsoft Mouse Dell Keyboards, but good theory.. Plus its just a USB hub un the keyboard, very few make HID only usb hubs anymore. Its a defective mouse detection system.. I have plugged in now 6 different mice, Ranging from Logictec to Dell, Two Microsoft Mice and even a Mac Mighty Mouse (That was for fun to see what would happen) I have all the WU but I am not sure how it handles drivers.. and this could be something they fixed in 32bit world but ignored in 64bit. Windows 7 Beta has the same issues on this laptop, so maybe its a bad driver for this dell l
-
you would think MS would have fixed this issue.. I mean a Mouse is semi important in windows..