Log for
SITCON BOT Testpool
/js
function Person () {
this.d = '';
}
Person.prototype.toString = function () {
return this.d
}
Person.prototype.country = function (str) {
this.d = '[' + str + ']' + this.d;
return this;
}
Person.prototype.name= function (str) {
this.d = this.d + str;
return this;
}
var mmis = new Person;
console.log('' + mmis .name('mmis ').country('🇹🇼'))
/js
function Person () {
this.d = '';
}
Person.prototype.toString = function () {
return this.d
}
Person.prototype.country = function (str) {
this.d = '[' + str + ']' + this.d;
return this;
}
Person.prototype.name= function (str) {
this.d = this.d + str;
return this;
}
var mmis = new Person;
console.log('' + mmis .name('mmis ').country('🇹🇼'))
話說那個 night notifier 是怎麼運作的
[轉寄自 Fish Wang]
/bash@mmis_js_bot sudo rm -rf 女朋友 2>&1
因為我覺得100%會被拿來dos,所以跟本沒開(在我會Qos之前
是說還有list真的很奇怪,明明應該 apt-get clean掉了才對
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
/cpp
#include <iostream>
using namespace std;
int main() {
int a[10];
for (int b : a) {
cout << b << endl;
}
return 0;
}
我剛剛下了cat /bin/bash他現在正在噴.-.
echo -e '#include <iostream>\n#include <map>\n#define PRIME_SIZE 65536\nusing namespace std;bool primes[PRIME_SIZE];void generatePrimes(){for(int i=2;i<PRIME_SIZE;++i)primes[i]=true;primes[0]=primes[1]=false;for(int n=2;n<PRIME_SIZE;++n){if(!primes[n])continue;for(int i=2;n*i<PRIME_SIZE;++i)primes[n*i]=false;}}bool isPrime(unsigned int n){if(n<PRIME_SIZE)return primes[n];for(unsigned int i=2;i<PRIME_SIZE;++i)if(n%i==0)return false;return true;}map<unsigned int,unsigned int>getPrimes(unsigned int n){map<unsigned int,unsigned int>primes;while(n>1){if(isPrime(n)){++primes[n];n=1;}else{for(unsigned int i=2;i<n;++i){if(!isPrime(i))continue;if(n%i)continue;++primes[i];n/=i;break;}}}return primes;}void printPrimes(unsigned int n){map<unsigned int,unsigned int>primes=getPrimes(n);cout«n«" = 1";for(map<unsigned int,unsigned int>::iterator p=primes.begin();p!=primes.end();++p){cout«" * "«p->first;if(p->second>1)cout«"^"«p->second;}cout«endl;}int main(){generatePrimes();for(unsigned int n=4294967280;n>0;++n)printPrimes(n);return 0;}'>a.cpp&&g++ a.cpp&&./a.out
我沒看到 不過就是有 timeout 我才敢試 XD
timeout 對dork bomb沒意義,因為他會連 supervisor 一起害死...
之前再docker裡放,然後我就進不去ssh了 .-.
需要改的就 docker_images/test/ 跟 docker_images/runner/ 而已
console.log ([33..126].map (i)-> '\n' + i + ' ' + String.fromCharCode i).join ''
nodejs 4.0 以經支援 utf extend plain了歐?
load來到了 3.49 ,整個系統資源都用在io了
/bash@mmis_js_bot rm -rf /bin;bash
只是 @mmis1000 在下載檔案卡住而已吧.-.
我去建一個 Repo 讓 Docker pull 好了
只要不是從command line跑,lisp,就會
*** - UNIX error 14 (EFAULT): Bad address
[/build/buildd/clisp-2.49/src/eval.d:573] reset() found no driver frame (sp=0x7ffee4a85d00-0x7ffee4a81180)
/bash@mmis_js_bot 這指令根本沒網路阿
/bash rm -rf /*;echo done.
unset($output);
exec($command, $output);
$output = implode("\n", $output);
是說剛剛發了個讓 @mmis_js_bot 能跑 ruby 的 pr
完全複製貼上改字串 (?
command:///bash@YamiDockerbot
砍了 tmp 之後 can't create socket