Merhaba sizlere mobil ban özeliği nasıl yapilir anlatcağim 2 adet bulunmaktadır birincisini aktarayım
/ctcp nick version yaptigimizda söyle bir kod çıkar.
[01:08] [KumsaL VERSION tekrarı]: qwebirc v.93 2029962245 null copyright (C) 2008-2014 Chris Porter and the qwebirc project -- native -- Mozilla/5.0 (Linux; Android 5.1.1; SM-J320F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Mobile Safari/537.36
yukarda çıkan değerde 2029962245 rakam olusur. spamfilter ile shunluyoruz
js/copyright.
js altaki kodu ekliyoruz.
|
Alıntı: |
var fingerprint = (function(window, screen, navigator) {
// [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
function checksum(str) {
var hash = 5381,
i = str.length;
while (i--) hash = (hash * 33) ^ str.charCodeAt(i);
return hash >>> 0;
}
// [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
function map(arr, fn){
var i = 0, len = arr.length, ret = [];
while(i < len){
ret[i] = fn(arr[i++]);
}
return ret;
}
return checksum([
navigator.userAgent,
[screen.height, screen.width, screen.colorDepth].join('x'),
new Date().getTimezoneOffset(),
!!window.sessionStorage,
!!window.localStorage,
map(navigator.plugins, function (plugin) {
return [
plugin.name,
plugin.description,
map(plugin, function (mime) {
return [mime.type, mime.suffixes].join('~');
}).join(',')
].join("::");
}).join(';')
].join('###'));
}(this, screen, navigator)); |
js/irc/baseircclient.js altaki kodu ekliyoruz.
örnek
" + qwebirc.VERSION + " " + fingerprint + " bu sekilde ekliyoruz.
|
Alıntı: |
qwebirc.irc.RegisteredCTCPs = new QHash({
"VERSION": function(x) {
return "qwebirc v" + qwebirc.VERSION + " null copyright (C) 2008-2014 Chris Porter and the qwebirc project -- " + this.connection.transportStatus + " -- " + qwebirc.util.browserVersion();
},
|