keylogger.c
are there any working keyloggers, written in c, that works under Debian Lenny? features: - be simple - support utf-8 [or any char on the keyboard] - run in background [./something.bin ?] - output to a local file, e.g.: cat keyblog.txt [date] [time] [pressed char] 2010.08.02 20:19:12.089566868 á 2010.08.02 20:19:12.882365867 é extra features: - must be one .c file extra extra features: - can log all keystrokes [even when remotely connecting with ssh to the machine] Does anyone has one ready? :P or just an url? Thank you. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1280782740.5755.24.ca...@localhost
ip address from range script
TEST-A.txt: list of ip address ranges [AS/isp's in a country] TEST-B.txt: list of ip addresses I just need to know, if an ip in the TEST-B.txt is in a range of TEST-A.txt cat TEST-A.txt 63.31.63.0/24;9007;44536 64.65.0.0/19;9000;8263 62.64.14.0/21;9001;6852 cat TEST-B.txt 63.31.63.2 64.66.5.4 63.31.63.66 62.64.14.231 output: 63.31.63.0/24;9007;44536 63.31.63.2 63.31.63.66 62.64.14.0/21;9001;6852 62.64.14.231 - so is an ip address [in TEST-B.txt] is from my country [TEST-A.txt] or not? thanks:\ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1280411652.4287.28.ca...@localhost
turn off all logging
Can anyone post a link, to a good howto, how to: - turn off logging to console - turn off logging to files [/var/log/messages] - turn off all logging Reason: because Lenny is not on a normal HDD, so i don't want to write to often. And i don't need any logging on it. Thank you! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1276630251.11424.5.ca...@localhost
Re: turn off all logging
/etc/init.d/rsyslog stop chmod -x /etc/init.d/rsyslog is that enough? or the system logs somewhere else? Can anyone post a link, to a good howto, how to: - turn off logging to console - turn off logging to files [/var/log/messages] - turn off all logging Reason: because Lenny is not on a normal HDD, so i don't want to write to often. And i don't need any logging on it. Thank you! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1276632255.11424.8.ca...@localhost
tricky perl question - ascending order
or maybe in bash.. script/one liner e.g.: input: http://pastebin.com/raw.php?i=pMZPEsMZ i want to make this output from it: http://pastebin.com/raw.php?i=kH8VxT0A So from the input, i want to make an ascendant order, how many things are under a SOMETHING-XX Does anyone has any perl magic in the pocket, how to do this? :D Thank you very, very much..:\ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1274631338.6474.20.ca...@localhost
Re: tricky perl question - ascending order
wow, thanks!! and how exactly can i use this magic? http://pastebin.com/raw.php?i=XZ1rn2bM sorry for the dumb question:\ Thank you! Jozsi Vadkan wrote: or maybe in bash.. script/one liner e.g.: input: http://pastebin.com/raw.php?i=pMZPEsMZ i want to make this output from it: http://pastebin.com/raw.php?i=kH8VxT0A So from the input, i want to make an ascendant order, how many things are under a SOMETHING-XX Does anyone has any perl magic in the pocket, how to do this? :D Thank you very, very much..:\ Assuming you can rely on the positions of the blank lines, this seems to work. Should be easy to change if you want to rely on SOMETHING being at the beginning. perl -e '$f=1; while() { chomp; if ($_ eq ) { $f=1 } else { if ($f) { $x{$_}=[]; $k=$_; $f=0 } else { push @{$x{$k}}, $_ } } } for(sort keys %x) { print $_, \n, join(\n, @{$x{$_}}), \n\n }' There's probably a perl hacker or two who can do it neater, but as I say, it seems to work ;) -- Chris Jackson Shadowcat Systems Ltd. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1274634201.6474.33.ca...@localhost
Re: tricky perl question - ascending order
The solution [from the FreeBSD mailing list]: perl -00 -e 'print map $_-[0], sort { $a-[1] = $b-[1] } map [$_, tr/\n//], ' before.txt after.txt Thank you!! or maybe in bash.. script/one liner e.g.: input: http://pastebin.com/raw.php?i=pMZPEsMZ i want to make this output from it: http://pastebin.com/raw.php?i=kH8VxT0A So from the input, i want to make an ascendant order, how many things are under a SOMETHING-XX Does anyone has any perl magic in the pocket, how to do this? :D Thank you very, very much..:\ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1274647168.6474.48.ca...@localhost
GRUB Hard Disk Error
I've got two pendrives. I want to install a Debian on them. RAID1. Ok... ... After I installed it in RAID1, it works perfectly, ok! :) When I pull out one of the pendrive [good pendrive], it still boots up, hurrah :) But: ... When I pull out the other pendrive [i plug in the first one i tried] it say's: GRUB hard disk error What can I do? I already tried: grub-install /dev/sdc -that's the pendrive name [bios - hard drive emulation=hard drive, not auto] or: # grub find /boot/grub/stage1 hd0,0 hd1,0 root (hd0,0) setup (hd0,0) etc. What's the solution? Please help me:\ I can't just dd the first 512 Byte of the good pendrive, because the uuid is stored there. [needed for the sraid..] It gets to the grub, so it's not a boot-order problem How can I install grub to these two pendrives, so that if one of the pendrives die, it would still be a bootable system? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1274459390.8022.37.ca...@localhost
Re: only output the nth line
yes, that's the problem, it only outputs the first, second, and fourth line! ii sed 4.1.5-6 The GNU sed stream editor Debian Lenny 2010. 05. 12, szerda keltezéssel 12.25-kor Hugo Vanwoerkom ezt írta: Jozsi Vadkan wrote: I have a file: snip And i want to only output the first, second, and fourth line to another file. The: sed -n '1,2p;4p' file.txt h...@debian:~$ sed -n '1,2p;4p' file.txt daemon 1): 0 ii sed4.1.5-8The GNU sed stream editor Hugo -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1273765762.3998.1.ca...@localhost
Re: only output the nth line
oops, typo I wanted to say that it only outputs the first, second, and fourht line _once_ so the 8th, etc lines are not in the output sorry:D 2010. 05. 13, csütörtök keltezéssel 11.04-kor Boyd Stephen Smith Jr. ezt írta: On Thursday 13 May 2010 10:49:22 Jozsi Vadkan wrote: 2010. 05. 12, szerda keltezéssel 12.25-kor Hugo Vanwoerkom ezt írta: Jozsi Vadkan wrote: I have a file: And i want to only output the first, second, and fourth line to another file. h...@debian:~$ sed -n '1,2p;4p' file.txt yes, that's the problem, it only outputs the first, second, and fourth line! I think that perhaps there is some language barrier. Your original post indicates that you want lines 1, 2, 4 and no others output. i want only output the first, second, and fourth line Your most recent post says that is the problem. Which I infer means something you don't want. Could you maybe rephrase the question, or at least be a bit more verbose? ... If you want the output to go to a file try something like (sed -ne '1,2p;4p' $input $output). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1273768493.3998.4.ca...@localhost
only output the nth line
I have a file: cat file.txt daemon 1): 596 0 0 1 0 0 bin 2): 12 0 0 1 0 0 sys 3): 0 0 0 0 0 0 And i want to only output the first, second, and fourth line to another file. The: sed -n '1,2p;4p' file.txt doesn't work. What magic do i need for it? :D Thanks..:\ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1273683537.12667.32.ca...@localhost
usb raid1 pendrive boot
Did anyone managed to boot from RAID1? Lenny gives this error message: mdadm: no devices found for /dev/md0 I just want to install Debian Lenny on two pendrives [in sRAID1], so that the HDD's in the pc can be used only as data containers, but it gives this error message. Please help me. Thank you! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1273231268.5627.27.ca...@localhost
Re: usb raid1 pendrive boot
But i thought that, I can boot from RAID1 under Lenny. So i can't? So the solution is that I need a separate /boot partition? But the RAID will be useless then... 2010. 05. 7, péntek keltezéssel 14.22-kor deloptes ezt írta: Jozsi Vadkan wrote: Did anyone managed to boot from RAID1? Lenny gives this error message: mdadm: no devices found for /dev/md0 I just want to install Debian Lenny on two pendrives [in sRAID1], so that the HDD's in the pc can be used only as data containers, but it gives this error message. Please help me. Thank you! If you don't know why this is happening, then you shouldn't be doing this! This is because you don't have the md driver _in_ the kernel You'll need a small i.e. 20-30MB partition out of raid to boot from with i.e. initrd which loads the md driver and your raid device becomes visible. It doesn't matter if it's a pendrive or something else. regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1273236024.5627.32.ca...@localhost
Re: usb raid1 pendrive boot
rootdelay=15 worked!!! THANK YOU!!! 2010. 05. 7, péntek keltezéssel 14.54-kor martin f krafft ezt írta: also sprach Jozsi Vadkan jozsi.avad...@gmail.com [2010.05.07.1440 +0200]: But i thought that, I can boot from RAID1 under Lenny. So i can't? You should be able to, using grub-pc. Try passing rootdelay=15 to the kernel boot command line. If this doesn't work, you'll need to provide a lot more information about what you are trying to do, what you did, what you are expecting, and what exactly you are seeing. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1273239520.5627.34.ca...@localhost
debian on routerstation pro
on a lenny/amd64bit pc, i give out the: # debootstrap lenny --arch=mips something/ I: Retrieving Release E: unknown location something/dists/lenny/Release # command. something is a mounted partition of an usb drive. why can't i create a debian to the usb pendrive, with mips arch? i can create one, when not using --arch=mips, but then it will make an amd64 debian.. Is it a bug, or feature? I just want to boot a Debian from an usb stick on a routerstation pro: https://forum.openwrt.org/viewtopic.php?id=24378 can anyone help me regarding it? :( Thank you. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1272808750.12040.4.ca...@localhost
Re: debian on routerstation pro
solution: debootstrap --foreign --arch mips lenny something on a lenny/amd64bit pc, i give out the: # debootstrap lenny --arch=mips something/ I: Retrieving Release E: unknown location something/dists/lenny/Release # command. something is a mounted partition of an usb drive. why can't i create a debian to the usb pendrive, with mips arch? i can create one, when not using --arch=mips, but then it will make an amd64 debian.. Is it a bug, or feature? I just want to boot a Debian from an usb stick on a routerstation pro: https://forum.openwrt.org/viewtopic.php?id=24378 can anyone help me regarding it? :( Thank you. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1272812455.12040.7.ca...@localhost
boot Debian on a RouterStation Pro
Can anyone post a howto/doc, help about booting a Debian on a RouterStation Pro?:\ https://forum.openwrt.org/viewtopic.php?pid=108415#p108415 I still didn't manage to boot from it. Or any other normal distro :\ Thank you.. p.s.: a little more detailed howto:\ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1272832021.12040.36.ca...@localhost
how to redirect a domain in virtualmin
The question is simple. The answer [is there any] isn't simple [it's not implemented in virtualmin yet?]. So: There are two domains: AAA.com and: BBB.com Ok! Both domains are on the Virtualmin server, Ok! The big question: How can I redirect AAA.com to: BBB.com/index.php?lang=en ? In the menu: Apache Servers - AAA.com - Aliases and Redirections - I fill the forms as the: http://doxfer.com/Webmin/ApacheWebserver says it would work - Save - Apply Changes - it doesn't work. Webmin version: 1.350 / Lenny So is there an offical howto/doc/anyTHING, that describes, how to redirect AAA.com to BBB.com/index.php?lang=en ??? Thank you. Sorry for posting to two mailing lists, but I just can't seem to find a working howto :O [I read about this problem in forums, others complain about it too!] -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1272558906.25077.38.ca...@localhost
creating tables...html
What can i do about those empty spaces? i just can't figure it out... the html code: htmlheadmeta http-equiv=Content-Type content=text/html; charset=utf-8 / bodystyle type=text/css a:link, a:visited, a:active { text-decoration: none; } a:hover { text-decoration: underline; } table.tabletemplate { width: 100%; border-width: 1px; border-style: outset; border-color: #00; } /style/headbodypre test text here1 test text here2 table class=tabletemplatetrtdpre test text here1 test text here2 /pre/td/tr/table test text here1 test text here2 /prebody/html please help!! :\ thanks..:\ i tried it under chromium + iceweasel attachment: ch.pngattachment: ff.png
howto setup my own wikipedia site
Can anyone post a link, howto install/setup a wikipedia-like site? I just want to put my stiky-notes to my own wikipedia site. Thank you -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1271788628.4547.1.ca...@localhost
crypt question/server hotel
I want to put my server in a server hotel. But: I don't trust my server hotel owner. What can I do? I can crypt my partition/hdd's that contains the data. Ok. But: then my operating system will not be encrypted. Not Ok. If I crypt my operating system too, then when a reboot comes, I have to type a password to decrypt. But my server will be at a server hotel I can't directly use a keyboard [no service cpu]. What can I do [on technical side] to ensure a little more security to my server [e.g: crypt my partition/slice/whatever, that has the operating system, but without the type password problem] Thank you for any tips/help. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1271494160.4881.22.ca...@localhost
093a:2622 webcam
I bought a webcam: Bus 006 Device 004: ID 093a:2622 Pixart Imaging, Inc. What should I do, to bring it to life? I installed cheese, but it doesn't gives any video. /dev/video doesn't exists. Is there a script that installs all the webcam drivers? Or how to find out, what drivers does it need? Thank you. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1271187226.4881.1.ca...@localhost
automate apt-get update
I don't want to put: apt-get update in: /etc/crontab But then how could I automate the: apt-get update ? Is there a program for it? [e.g.: update-manager under GUI?] that randomly runs apt-get update? Thank you! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1270710151.6395.18.ca...@localhost
automate updates in Lenny
how do you automate the updates in Lenny? [if you're using it as a desktop os, and you don't want to give: apt-get update; apt-get upgrade -y every week..]? i'm using this: #!/bin/bash RANDOMTIME=$(echo $[ ($RANDOM % 60 ) ] ) if ! grep -q root dpkg --configure -a /etc/crontab; then echo $RANDOMTIME * * * * root dpkg --configure -a; apt-get upgrade -y /dev/null 21; apt-get install -y /dev/null 21 /etc/crontab; fi + install update-manager package - because it will apt-get update in the background [in random time - so the mirror servers won't have loads]. - at least i think is gives out apt-get update any other solutions/tips? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1270666354.6395.7.ca...@localhost
regexp a package with apt?
Is there a regexp for the: gstreamer0.10-plugins-bad package? I mean like: apt-get install gstreamer*-plugins-bad so that later, when it will get a new version number, it would still be downloadable by a script written e.g.: now. Thank you! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1270704433.6395.15.ca...@localhost
how to set default gpg keyring?
how can I set my gpg key as the default? man gpg doesn't helps this time :\ $ gpg --list-keys /home/somebody/.gnupg/pubring.gpg - pub 1024D/ 2008-02-27 [expired: 2010-02-27] uid Some Body someb...@somewhere.com $ gpg --default-key gpg: Go ahead and type your message ... wtf ^C gpg: Interrupt caught ... exiting thank you!:\ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1270380393.5019.6.ca...@localhost
skype alternative
What could be the best skype alternative, that uses some kind of encryption? I just want to lighten my phone bill..:\ Any good/bad experience regarding this? :\ Thank you!! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1270321726.4025.2.ca...@localhost.localdomain