Le Mystère de la Dent Bleue

Enquête sur le lien entre signaux Bluetooth et injections/tests anti-covid

Outils pour utilisateurs

Outils du site


btscan-shell

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
btscan-shell [2021/12/08 14:31] jeronimmobtscan-shell [2021/12/08 15:08] (Version actuelle) jeronimmo
Ligne 5: Ligne 5:
  
 <html> <html>
-<head> 
- <meta http-equiv="content-type" content="text/html; charset=utf-8"/> 
- <title></title> 
- <meta name="generator" content="LibreOffice 6.4.7.2 (Linux)"/> 
- <meta name="created" content="2021-12-08T14:19:03.557688605"/> 
- <meta name="changed" content="2021-12-08T14:29:01.210205966"/> 
- <style type="text/css"> 
- @page { size: 21cm 29.7cm; margin: 2cm } 
- p { margin-bottom: 0.25cm; line-height: 115%; background: transparent } 
- </style> 
-</head> 
-<body lang="fr-FR" link="#000080" vlink="#800000" dir="ltr"><p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> 
-<font face="Tlwg Typist">#!/bin/bash</font></p> 
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> 
-<br/> 
  
-</p> +<table style="height955pxwidth102.439%border-collapsecollapse; border-styleoutset;" border="2"> 
-<p style="margin-left2.6cmmargin-right9.3cmmargin-bottom0cm; border: 1px solid #000000; padding: 0.5cm; line-height100%background: transparent"+<tbody> 
-<font face="Tlwg Typist"># beacon-scan.sh</font></p+<tr
-<style="margin-left2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height100%background: transparent"> +<td style="width100%; border-stylenone;"> 
-<font face="Tlwg Typist"># Displays beacons including duplicates in +<p><code>#!/bin/bash</code></p> 
-real time.</font></p> +<p><code># beacon-scan.sh</code><br /><code>Displays beacons including duplicates in real time.</code><br /><code># Uses expect to automate interaction with bluetoothctl. -&gt; sudo apt-get install expect </code><br /><code># Uses sed to remove bluetoothctl colorization escape characters.</code><br /><code># Uses grep to filter out beacon manufacturer data logging.</code><br /><code># Uses Perl to prefix each beacon with a timestamp.</code></p> 
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +<p><code>if [ "$(id -u)!= "0]; then</code></p> 
-<font face="Tlwg Typist"># Uses expect to automate interaction with +<p style="padding-left: 40px;"><code>echo "ERROR: must run as root"</code><br /><code>exit 1</code></p> 
-bluetoothctl.  -&gt; sudo apt-get install expect </font> +<p><code></code><code>fi</code></p> 
-</p> +<p><code>(cat &lt;&lt;'END' | /usr/bin/expect</code></p> 
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +<p style="padding-left: 40px;"><code>set Prompt "#"</code><br /><code>set timeout -1</code></p> 
-<font face="Tlwg Typist"># Uses sed to remove bluetoothctl +<p style="padding-left: 40px;"><code>spawn bluetoothctl</code></p> 
-colorization escape characters.</font></p> +<p style="padding-left: 40px;"><code>expect -re $Prompt</code><br /><code>send "scan off\r"</code></p> 
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +<p style="padding-left: 40px;"><code>expect -re $Prompt</code><br /><code>send "remove *\r"</code></p> 
-<font face="Tlwg Typist"># Uses grep to filter out beacon +<p style="padding-left: 40px;"><code>expect -re $Prompt</code><br /><code>send "set-scan-filter-clear\r"</code></p> 
-manufacturer data logging.</font></p> +<p style="padding-left: 40px;"><code>expect -re $Prompt</code><br /><code>send "set-scan-filter-transport le\r"</code></p> 
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +<p style="padding-left: 40px;"><code>expect -re $Prompt</code><br /><code>send "scan on\r"</code></p> 
-<font face="Tlwg Typist"># Uses Perl to prefix each beacon with a +<p style="padding-left: 40px;"><code>trap {</code></p> 
-timestamp.</font></p> +<p style="padding-left: 80px;"><code></code><br /><code>expect -re $Prompt</code><br /><code>send "scan off\r"</code></p> 
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +<p style="padding-left: 80px;"><code>expect -re $Prompt</code><br /><code>send "remove *\r"</code></p> 
-<br/> +<p style="padding-left: 80px;"><code>expect -re $Prompt</code><br /><code>send "quit\r"</code></p> 
- +<p style="padding-left: 40px;"><code></code><code>} SIGINT</code></p> 
-</p> +<p><code>expect eof</code></p> 
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +<p><code>END</code><br /><code>) | sed --unbuffered --quiet --expression 's/^.*Device //p' \</code><br /><code>| grep --line-buffered -v ManufacturerData \</code><br /><code>| perl -nle 'print scalar(localtime), " ", $_'</code></p> 
-<font face="Tlwg Typist">if [ &quot;$(id -u)&quot; != &quot;0&quot; +</td
-]; then</font></p> +</tr
-<p style="margin-left: 2.6cmmargin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +</tbody
-    <font face="Tlwg Typist">echo &quot;ERROR: must run as root&quot;</font></p> +</table
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +<p>&nbsp;</p>
-    <font face="Tlwg Typist">exit 1</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<font face="Tlwg Typist">fi</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<br/> +
- +
-</p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<font face="Tlwg Typist">(cat &lt;&lt;'END' | /usr/bin/expect</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<br/> +
- +
-</p> +
-<p style="margin-left: 2.6cmmargin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-    <font face="Tlwg Typist">set Prompt &quot;#&quot;</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-    <font face="Tlwg Typist">set timeout -1</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<br/> +
- +
-</p> +
-<p style="margin-left: 2.6cmmargin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-    <font face="Tlwg Typist">spawn bluetoothctl</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<br/> +
- +
-</p> +
-<p style="margin-left: 2.6cmmargin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-    <font face="Tlwg Typist">expect -re $Prompt</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-    <font face="Tlwg Typist">send &quot;scan off\r&quot;</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<br/> +
- +
-</p> +
-<p style="margin-left: 2.6cmmargin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-    <font face="Tlwg Typist">expect -re $Prompt</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-    <font face="Tlwg Typist">send &quot;remove *\r&quot;</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<br/> +
- +
-</p> +
-<p style="margin-left: 2.6cmmargin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-    <font face="Tlwg Typist">expect -re $Prompt</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-    <font face="Tlwg Typist">send &quot;set-scan-filter-clear\r&quot;</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<br/> +
- +
-</p> +
-<p style="margin-left: 2.6cmmargin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-    <font face="Tlwg Typist">expect -re $Prompt</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-    <font face="Tlwg Typist">send &quot;set-scan-filter-transport +
-le\r&quot;</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<br/> +
- +
-</p> +
-<p style="margin-left: 2.6cmmargin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-    <font face="Tlwg Typist">expect -re $Prompt</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-    <font face="Tlwg Typist">send &quot;scan on\r&quot;</font></p> +
-<p style="margin-left: 2.6cmmargin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<br/> +
- +
-</p> +
-<p style="margin-left: 2.6cmmargin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-    <font face="Tlwg Typist">trap {</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-        <font face="Tlwg Typist">expect -re $Prompt</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-        <font face="Tlwg Typist">send &quot;scan off\r&quot;</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<br/> +
- +
-</p> +
-<p style="margin-left: 2.6cmmargin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-        <font face="Tlwg Typist">expect -re $Prompt</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-        <font face="Tlwg Typist">send &quot;remove *\r&quot;</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<br/> +
- +
-</p> +
-<p style="margin-left: 2.6cmmargin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-        <font face="Tlwg Typist">expect -re $Prompt</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-        <font face="Tlwg Typist">send &quot;quit\r&quot;</font></p> +
-<p style="margin-left: 2.6cmmargin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-    <font face="Tlwg Typist">} SIGINT</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<br/> +
- +
-</p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-    <font face="Tlwg Typist">expect eof</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<br/> +
- +
-</p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<font face="Tlwg Typist">END</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-<font face="Tlwg Typist">) | sed --unbuffered --quiet --expression +
-'s/^.*Device //p' \</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-  <font face="Tlwg Typist">| grep --line-buffered -v ManufacturerData +
-\</font></p> +
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"> +
-  <font face="Tlwg Typist">| perl -nle 'print scalar(localtime), &quot; +
-&quot;, $_'<br/> +
-</font><br/> +
- +
-</p+
-<p style="margin-left: 2.6cm; margin-right: 9.3cm; margin-bottom: 0cm; border: 1px solid #000000; padding: 0.5cm; line-height: 100%; background: transparent"+
-<br/> +
- +
-</p> +
-</body>+
 </html> </html>
  
btscan-shell.1638970310.txt.gz · Dernière modification : 2021/12/08 14:31 de jeronimmo