
Mahmoud Gilany
مشرف سابق- البلد :
- الجنس :
- المساهمات :
- 444
- العمر :
- 32
- السٌّمعَة :
- 4
اسد المنتدى
لقد شارك هذا العضو في أكثر من 250 مساهمة مختلفة!
مشرف سابق
لقد كان هذا العضو جزءًا من فريق العمل سابقاً!
عضو مُخضرم
هذا العضو ينتمي إلى هذا المنتدى منذ قديم الزمان!



السلام عليكم ورحمه الله وبركاته
أخى الكريم تحية طيبه أما بعد
فى الأوانى الأخيرة
ظهرت مشكلة فى منتدى
وهو وجود رابط ضار داخل منتدى
وهذا شئ يقلقنى
لقد قمت ب الفعل بحذف كل برامج التكويد بحثاً عن تلك المشكلة ولاكن لأستطيع أجاد
هذه الرابط الذى كان سبب فى ظهور رسالة نصية تفيد بوجود رابط ضار بموقعى و بجهاز الكمبيوتر المستخدم
وهذه الرسالة ظهرت تحديدا بعد تسطيب برنامج مكافح الفيروسات الشهير
kaspersky صورة توضحية


رابط مباشر للصورة

https://i.servimg.com/u/f68/20/15/41/08/captsa10.png

الرابط المراد حذفة

https://www.geniusdexchange.com/a/display.php?r=968461


وعند الضغط على هذا الرابط يتم فتح صفحة مبرمجة
يوجد بيها هذا الكود



الكود:
function inIframe() {
try {
return (window.self !== window.top) ? 1 : 0;
}
catch (e) {
return 1;
}
}
function checkDocumentBody() {
return (typeof document.body != 'undefined' &&
((document.body != null) || (typeof document.getElementsByTagName('body')[0] != 'undefined'))
);
}
// Appends first element in html to body. Works in asynchronous calls.
function documentAsyncWriteElementFromHtml(html)
{
if (!checkDocumentBody()) {
return setTimeout(documentAsyncWriteElementFromHtml, 100, html);
}
else {
var tempDiv = document.createElement('div');
tempDiv.innerHTML = html;
var element = tempDiv.firstChild;
document.body.appendChild(element);
}
}
function ReopenUrlBuilder(baseUrl) {
this.baseUrl = baseUrl;
/**
* Get value of content attribute of meta tag with name attribute = name
* Fallback to top if possible
*
* @return string
*/
this._getMetaContent = function (name) {
try {
var meta = window.top.document.getElementsByTagName('meta');
for (var i = 0; i < meta.length; i++) {
if (meta[i].hasAttribute('name') && meta[i].getAttribute('name').toLowerCase() === name) {
var info = meta[i].getAttribute('content');
return this._getSafeSizeSubString(info);
}
}
}
catch (e) {
}
return '';
};
this._getWidth = function () {
return window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
};
this._getHeight = function () {
return window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;
};
this._getSafeSizeSubString = function (str) {
var indexToCut = Math.max(str.indexOf(' ', 256), str.indexOf(',', 256));
if (indexToCut > 384 || indexToCut < 20) {
indexToCut = 256;
}
return str.substring(0, indexToCut);
};
this._getTitle = function () {
var title = document.title;
if (inIframe()) {
try {
title = window.top.document.title;
}
catch (e) {
title = '';
}
}
return this._getSafeSizeSubString(title);
};
this._getReferrer = function () {
var referrer = document.referrer;
return this._getSafeSizeSubString(referrer);
};
this.build = function () {
return this.baseUrl
+ '&cbrandom=' + Math.random()
+ '&cbtitle=' + encodeURIComponent(this._getTitle())
+ '&cbiframe=' + inIframe()
+ '&cbWidth=' + this._getWidth()
+ '&cbHeight=' + this._getHeight()
+ '&cbdescription=' + encodeURIComponent(this._getMetaContent('description'))
+ '&cbkeywords=' + encodeURIComponent(this._getMetaContent('keywords'))
+ '&cbref=' + encodeURIComponent(this._getReferrer());
};
}
/**
* Detect the browser
*
* Parse the passed user agent if possible so we can descide what we are going to do.
*
* @return Object The browser that has been detected.
*/
var browser = (function (n) {
// var n = 'Dalvik/1.6.0 (Linux; U; Android 4.3; GT-I9300 Build/JSS15J)'.toLowerCase();
n = n.replace('OPR', 'opera').toLowerCase();
var b = {
webkit: /webkit/.test(n),
chrome: /chrome|crios/.test(n),
safari: (/safari/.test(n) && !(/chrome/.test(n)) && !(/opios/.test(n))),
mozilla: (/mozilla/.test(n)) && (!/(compatible|webkit)/.test(n)),
firefox: /firefox/.test(n),
msie: ((/msie/i.test(n)) || /Trident/i.test(n)) && (!/opera/i.test(n)),
msedge: (/edge/.test(n)),
ms_mobile: /iemobile/.test(n),
opera: /opera/.test(n),
// opios is Opera Mini in iOS
opera_mini: (/opera mini/.test(n) || /opios/.test(n)),
android: /android/.test(n),
mac: /macintosh/.test(n),
blackberry: /blackberry/.test(n),
ios: /ipad|ipod|iphone/.test(n),
// FaceBook userAgent
fb: /fban\/fbios|fbav|fbios|fb_iab\/fb4a/.test(n),
presto: /presto/.test(n),
ieQuirksMode: (typeof document.compatMode !== 'undefined') ? document.compatMode !== 'CSS1Compat' && (/msie/.test(n)) && (!/opera/.test(n)) : false,
ucbrowser: /UCBrowser|UCWEB/.test(n)
};
b.user_agent = n;
// Check for the flash support
b.flash_support = false;
try {
b.flash_support = navigator.mimeTypes['application/x-shockwave-flash'];
}
catch (e) {
}
// Get the browser version
b.version = (b.safari) ? (n.match(/.+(?:ri)[\/: ]([\d.]+)/) || [])[1] : (n.match(/.+(?:ox|me|ra|ie)[\/: ]([\d.]+)/) || [])[1];
b.touchable = 'ontouchstart' in document.documentElement;
// Get the major browser version, like Chrome 41 or Firefox 38, from the full version
b.major_version = parseInt(b.version);
/* Detect if the current browser is a mobile browser or not. */
b.is_mobile = b.android || b.ios || b.blackberry || b.ms_mobile || b.opera_mini || b.ucbrowser;
return b;
})(navigator.userAgent);
var builder = new ReopenUrlBuilder("https:\/\/www.geniusdexchange.com\/a\/display.php?r=968461&treqn=1560205488&runauction=1&crr=d99470f19d1c04683e62,EjN0gjN5Q0MlInRzUCcoBnL5FGbwNXakZkMlEmRyUSbvNmLldmbhh2Y4VGZzVXauV2Zuc3d3ZkMlYkMlE0MlMHc0RHa6dcf5f8bda0d555afdec&rtid=5ef110b22aa49");
var url = builder.build();
var content = '<iframe width="728" height="90" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" allowfullscreen="true"'
+ 'style="border: medium none; padding: 0; margin: 0; max-width:100%; height:90px;"'
+ 'sandbox="allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-pointer-lock allow-same-origin" id="5ef110b22aa49" frameborder="0" src="'+ url +'" scrolling="no"></iframe>';
// If we are in iframe it is a fallback call - replace <body> directly
try {
if (window.top !== window.self) {
documentAsyncWriteElementFromHtml(content);
}
else {
document.write(content);
}
}
catch(e) {
documentAsyncWriteElementFromHtml(content);
}
if ((browser.chrome && browser.major_version < 17) || browser.opera_mini) {
document.getElementById('5ef110b22aa49').removeAttribute('sandbox');
}

أرجو تحديد هذا الرابط او الكود لكى أقوم بحذفة عالماً بأن هذا الكود
غير موجود بصفحات المذكورة التومبلايت ولا لوحة الـ Css ولا تشكيلات عامة ولا أعلانات خاصة
ولا بأكواد الجافا أسكربت المضافة ولا بأكواد خريطة الموقع
فلو تكرمتم وتفضلتم علينا بتحديد هذا الرابط المطلوب أو الأكواد المبرمجة لأقوم بحذفها أكون شاكراً لكم جدا
تحياتى لكم بتمام العافية


