ITeye博客

j4s0nh4ck的博客

j4s0nh4ck · 共 276 篇文章

[置顶] virutalization

https://blog.jtlebi.fr/2014/01/19/introduction-to-linux-namespaces-part-5-net/ http://crosbymichael.com/creating-containers-part-1.html

2015-08-28 17:32 · linux · 评论(0)

[置顶] windows提权集合

https://blog.netspi.com/5-ways-to-find-systems-running-domain-admin-processes/ http://www.solutionary.com/resource-center/blog/2014/06/internal-network-enumeration-and-privilege-escalation/ https://www.offensive-security.com/metasploit-unleashed/privilege-escalation/

2015-06-30 00:23 · windows · 评论(0)

使用GCC/GNU-ld删除dead code

< https://gcc.gnu.org/ml/gcc-help/2003-08/msg00128.html https://embeddedfreak.wordpress.com/2009/02/10/removing-unused-functionsdead-codes-with-gccgnu-ld/ Hi Dr. Rupp, I was just looking into this very thing! Do this in your Makefile... --------8<-------- DEADCODESTRIP := -Wl,-static -fvtable-gc -f…

2016-05-09 17:18 · linux · 评论(0)

Invalid or corrupt jarfile

使用最新的burpsuite免费版,出现了 Error: Invalid or corrupt jarfile burpsuite_free_v1.6.32.jar 错误 解决方案: mv burpsuite_free_v1.6.32.jar burpsuit.jar unzip -d burpsuit.jar ./tmp cd ./tmp jar cmvf META-INF/MANIFEST.MF burpsuite.jar ./* java -jar burpsuite.jar

2016-04-11 23:20 · burp suit · 评论(0)

python 修饰器

def wrapper1(function): print("In wrapper1 pre") @functools.wraps(function) def wrapper(*args, **kwargs): print("In wrapper1 wrapper") args = [float(arg) for arg in args] return float(function(*args, **kwargs)) print("In wrapper1 post") return wrapper def wrapper2(function): print("In wrapper2 pre"…

2016-02-05 15:11 · linux · 评论(0)

ubuntu 14.04 install e431 wifi driver

sudo apt-get install linux-headers-generic build-essential dkms sudo apt-get install linux-source sudo apt-get install --reinstall bcmwl-kernel-source sudo modprobe wl

2016-01-25 20:59 · linux · 评论(0)

git

http://finalshares.cn/attachment/1509/thread/95_80_cbcb426e1ba4faf.jpg

2016-01-07 12:01 · linux · 评论(0)

嵌入式中使用gdb

编译 For gdb: /path/to/gdb-src/configure --target=arm-linux-gnueabi make For GDBserver /path/to/gdb-src/gdb/gdbserver/configure --host=arm-linux-gnueabi ../.././../gnulib/import/mbrtowc.c:125: error: 'MB_CUR_MAX' undeclared (first use in this function) vim ../gnulib/import/mbrtowc.c #define MB_CUR_MA…

2016-01-06 17:38 · linux · 评论(0)

linux change boot image

change grub2 vim /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_GFXMODE=1366x768 convert jpg image to png image mogrify -format png OnePiece.jpg change the image in plymouth cd /lib/plymouth/themes/XXX-logo/ mv wallpaper.png wallpaper.png.bkp cp /home/jason/Downloads/OnePiece.png …

2016-01-02 00:55 · linux · 评论(0)

binwalk --dd

http://www.devttys0.com/2012/12/binwalk-0-5-release/ [color=darkblue][b]binwalk --dd='gzip:gz:gunzip %e' firmware.bin[/b][/color] The above command instructs Binwalk to extract any file whose description contains the text ‘gzip’, save it to disk with a ‘gz’ file extension, and to then run the ‘gunz…

2015-12-28 21:51 · linux · 评论(0)

embeded LD_PRELOAD

[color=blue][b]eve@eve:~/squashfs-root$ sudo chroot . ./qemu-arm -E LD_PRELOAD="/nvram.so" usr/sbin/httpd [/b][/color] usr/sbin/httpd: relocation error: /nvram.so: symbol __register_frame_info, version GLIBC_2.0 not defined in file libgcc_s.so.1 with link time reference eve@eve:~/squashfs-root$ #in…

2015-12-28 00:17 · linux · 评论(0)

hardware hacking

For video stuff: https://www.youtube.com/watch?v=FYPhEgbiWrk command: http://pastebin.com/k4mwgS6T #http://alexkaskasoli.com/wansview.pdf <-- notes #wansview IPCAM telnet firmware 51.3.0.152 #user: root #password: 123456 #get full version of busybox #download to desktop mipsel version wget "http://…

2015-12-27 01:32 · linux · 评论(0)

ubuntu support kindle

apt-get install mtpfs

2015-12-20 23:13 · linux · 评论(0)

kali 2.0 broadcom wifi connection

apt-get install -y linux-headers-$(uname -r) apt-get install broadcom-sta-dkms firmware-brcm80211 firmware-b43-installer

2015-12-12 16:28 · kali · 评论(0)

linux 备份系统

备份 dd if=/dev/sda > myimage.img 还原 cat myimage.img | dd of=/dev/sda 压缩 dd if=/dev/sda | gzip -c > myimage.img 还原 gunzip -c myimage.img | dd of=/dev/sda

2015-12-05 22:22 · linux · 评论(0)