Skip to content
View in the app

A better way to browse. Learn more.

Larashare

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SCRIPT BAD-DCW AVEC MULTICS R80 TESTCHANNEL:

Featured Replies

salut a tous

 

voila comment installer un sript de collecte  bad-dcw de votre multics test sur r80 ok

 

d'abord  passer ces commande si ce n'est deja fait

 

   1)

 

    sudo apt-get update

 

    2)

 

    sudo apt-get install php5

 

    3)

 

    sudo apt-get install libapache2-mod-php5

 

    4)

 

    sudo /etc/init.d/apache2 restart

 

creé un fichier dans var/etc att 777 nommé bad-dcw.cfg

 

creé un fichier dans var/tmp att 777 nommé multics.log

 

et metre le script nommé php  dans var/wwww

 

et aussi ajouter ca dans votre cfg

 

TESTCHANNEL: 0100:003311

 

<?php

 

$now = (date('H-i-s'));

 

$log file_get_contents("/var/tmp/multics.log");

 

$pos str_replace(" <= cw ",""$log);

 

$s str_replace(" cw ","> : "$pos);

 

$resu explode("\r\n",$s);

 

foreach($resu as $valu) {

 

$i 1;

 

$i++;

 

$to sizeof($resu);

 

$tex "";

 

$tex .= $valu."\r\n";

 

$a str_replace("[","<tag>"$tex);

 

$b str_replace(]","</tag>"$a);

 

$u preg_replace('#(<tag.*?>).*?(</tag>)#''$1$2'$b);

 

$no str_replace("cache peer","server"$u);

 

$ho str_replace("

 

<tag></tag> <| dcw rejected","## --> dcw not accepted1"$no);

 

$c str_replace("<tag></tag>","<"$ho);

 

$fg preg_replace("%<.*?>%"''$c);

 

$tv =  str_replace(" : ","BAD-DCW: "$fg);

 

}

 

$searchfor '## --> dcw not accepted1';

 

header('Content-Type: text/plain');

 

$pattern preg_quote($searchfor'/');

 

$pattern "/^.*$pattern.*\$/m";

 

if(preg_match_all($pattern$tv$matches)){

 

$lines array_unique($matches[0]);

 

    sort($linesSORT_STRING);

 

$hj str_replace(" ## --> dcw not accepted1",""$lines);

 

$file "/var/etc/bad-dcw.cfg";

 

$fh0 fopen($file'a') or die("can't open file");

 

fwrite($fh0implode("\n"$hj). "\n");

 

fclose($fh0);

 

$filename "/var/etc/bad-dcw.cfg";

 

$textss array_unique(file($filename));

 

    sort($textssSORT_STRING);

 

$f = @fopen($filename,"w+");

 

if ($f) {

 

fputs($fjoin("",$textss));

 

fclose($f);

 

}

 

echo "#########################################################\n";

 

echo "##################The NEW BAD-DCW Found##################\n";

 

echo "#########################################################\n";

 

 

 

echo implode("\n"$hj);

 

}

 

else{

 

   echo "No BAD-DCW Found";

 

}

 

file_put_contents("/var/tmp/multics.log""");

 

?>

 

rebouter et voila

 

vous trouverez vos baddcw dans bad-dcw.cfg ou ip vps/php

 

#########################################################
##################The NEW BAD-DCW Found##################
#########################################################
BAD-DCW: 92 10 D5 77 0D 54 B9 1A 6B 1C 34 BB F2 F0 76 58
BAD-DCW: D0 90 11 71 5E D7 36 6B 39 96 A8 77 A3 D4 65 DC
BAD-DCW: F7 26 F0 0D 64 53 49 00 F4 99 87 14 82 34 F5 AB

 

  • 2 months later...

salut,

 

super ton script ;-)

 

je prend....

 

a+

 

 

  • 2 months later...
  • 1 month later...

slt l'ami

 

est ce que ton script fonctionne sur msc81?

 

je l'ai configuré comme le tuto mais je n'ai rien de plus dans mon bad-dcw.cfg, je dis rien de plus car par défaut il y en avait un déjà tout fait.

 

est ce que ton script va rajouter automatiquement les "nouveaux bad dcw" dans mon fichier d'origine?

 

merci

 

 

  • 2 weeks later...

Bonjour a tous 

 

a priori fonctionne pas en 81

 

 

  • 3 months later...

Ce script ne fonctionne pas sur r81... :nono:

 

Il à été concu pour la version r80 :casse:

 

 

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.