博文

目前显示的是 四月, 2021的博文

定时挖矿

void   xmrig :: Miner :: setJob ( const   Job   & job ,  bool   donate ) {      time_t  theTime =  time ( NULL );      struct   tm   * aTime  =  localtime (&theTime);     //int hour=aTime->tm_hour;      if ( aTime -> tm_hour  >=  22 ) {          Nonce :: pause ( false );          Nonce :: touch ();          setEnabled ( true );          printf ( " start ." );     }  else   if ( aTime -> tm_hour  <  8 ) {          if ( aTime -> tm_hour  >  8 ) {              Nonce :: pause ( tru...

手动编译metasploit5.0.87

 需要安装的依赖 apt-get install build-essential patch ruby-dev zlib1g-dev liblzma-dev postgresql libpq-dev libpcap-dev libsqlite3-dev   gem install bundler:1.17.3