prez-ppp-2025

Slides de la présentation pour PPPiraterie - retour accueil

git clone git://bebou.netlib.re/prez-ppp-2025

Log | Files | Refs | README |

prez.slides (2633B)


      1 
      2 
      3    
      4 
      5 
      6 
      7 
      8 					 How I stole the DES from
      9 					 CRISCO's web cage
     10 
     11 
     12 
     13 
     14 
     15 › Why ?
     16 
     17 I have a friend who writes a lot
     18 He uses a lot of synonymes but going on the CRISCO website is tedious
     19 
     20 firefox https://google.fr
     21 
     22 
     23 
     24 › Can be better
     25 
     26 firefox https://crisco4.unicaen.fr/des/synonymes/manger
     27 
     28 › Can be better
     29 
     30 firefox https://crisco4.unicaen.fr/des/synonymes/manger
     31 
     32  but 
     33 
     34 He's often in a train in "rural" Alsace so he needs offline stuff.
     35 
     36 › Alternative interface outside of the web ?
     37 
     38 curl -Ls https://crisco4.unicaen.fr/des/synonymes/manger |
     39 	grep -E "height:8px" | grep -Eo '/des/synonymes/[^"]+' |
     40 	cut -d'/' -f4 | tr '+' ' '
     41 
     42 › Tedious to create the database
     43 
     44 Have to request every single word in french !
     45 › Tedious to create the database
     46 
     47 Have to request every single word in french !
     48 
     49  and 
     50 
     51 › Tedious to create the database
     52 
     53 Have to request every single word in french !
     54 
     55  and 
     56 
     57 	Constitué à partir de données – mots et liens – extraites de dictionnaires et
     58 	des recherches de l’ELSAP, laboratoire associé au CNRS, puis du CRISCO, le DÉS
     59 	constitue dans sa forme actuelle une œuvre originale, propriété de l’université
     60 	de Caen Normandie. La consultation du DÉS et la reproduction de ses pages sont
     61 	libres, mais la base de données reste la propriété exclusive de l’université.
     62 	L’utilisation de copies de cette base de données ne peut se faire que sous
     63 	contrat de licence avec l’université.  En conséquence, toute requête automatique 
     64 	 visant à collecter les données du DÉS est strictement interdite. 
     65 
     66 	All automatic requests made to collect the DES data are strictly forbidden
     67 
     68 
     69 
     70 
     71 
     72 › Is this piracy ??
     73 
     74 echo "🏴☠️ Here be stolen data🏴☠️"
     75 curl -Ls https://crisco4.unicaen.fr/des/synonymes/manger |
     76 	grep -E "height:8px" | grep -Eo '/des/synonymes/[^"]+' |
     77 	cut -d'/' -f4 | tr '+' ' '
     78 
     79 › Let's sniff around for data
     80 
     81 firefox https://crisco.unicaen.fr/dictionnaire-electronique-des-synonymes-des/version-autonome-du-dictionnaire-electronique-des-synonymes/
     82 
     83 java -jar des/aDES.jar
     84 
     85 
     86 
     87 
     88 › The data has to be inside somewhere right ?
     89 
     90 ls des
     91 
     92 cd des
     93 unzip aDES.jar
     94 
     95 › Locally
     96 
     97 Through a little menu
     98 
     99 › Remotely
    100 
    101 Through a service provided by a small community server
    102 
    103 nc bebou.netlib.re 2222
    104 
    105 echo "s manger" | nc -N bebou.netlib.re 2222
    106 
    107 
    108 
    109 
    110 
    111 
    112 
    113 
    114 
    115 
    116 › Thanks 🏴
    117 
    118 blog article : http://arthur.bebou.netlib.re/crisco-des
    119 mail         : arthur.pons@unistra.fr
    120 slides git (including the script to navigate the database) :
    121                http://git.bebou.netlib.re/prez-ppp-2025/log.html
    122 ssh          : ssh guest@bebou.netlib.re -p1459 prez-ppp-2025