Saturday, May 16, 2015

LKM syscall links

http://commons.oreilly.com/wiki/index.php/Network_Security_Tools/Modifying_and_Hacking_Security_Tools/Fun_with_Linux_Kernel_Modules

http://asm.sourceforge.net/syscall.html#1

http://crashcourse.ca/introduction-linux-kernel-programming/lesson-17-your-first-character-device-driver

http://syprog.blogspot.co.il/2011/10/hijack-linux-system-calls-part-iii.html

https://www.thc.org/papers/LKM_HACKING.html#II.1.

http://www.hackercurriculum.org/linux-rootkits

http://tuxthink.blogspot.co.il/2010/11/writing-example-driver-from-scratch.html

http://crashcourse.ca/introduction-linux-kernel-programming/lesson-16-lets-talk-about-devices

https://books.google.co.il/books?id=96V4AgAAQBAJ&pg=PA274&dq=nf_hook_ops&hl=en&sa=X&ei=8WBhVYLmEYr3UoC3gLAM&ved=0CBwQ6AEwAA#v=onepage&q=nf_hook_ops&f=false

https://gcc.gnu.org/onlinedocs/cpp/Macros.html#Macros

http://www.linuxjournal.com/article/7184

http://lxr.free-electrons.com/

http://kevinboone.net/linuxfile.html

http://webcourse.cs.technion.ac.il/230349/Winter2014-2015/en/ho_Slides.html

Saturday, May 2, 2015

copy file with ssh without scp




text file

cat /tmp/aaa | ssh user@host "cat - > aaa"
ssh user@host cat < /tmp/aaa ">" aaaa

from remote to local
ssh user@host cat > /tmp/bbb "<" bbb

uuencode - encode a binary file

 -m     Encode  the  output using the MIME Base64

http://www.commandlinefu.com/commands/view/4408/copy-a-file-over-ssh-without-scp