Hello les chicas & chicos ! Aujourd'hui, j'avais besoin de télécharger un fichier en torrent ( légalement bien sur 😇), j'ai donc fait un partage de connexion 4G avec mon smartphone. J'ouvre la liste des Wifi sur mon mac, et la.... J'aperçois un nom de wifi totalement WTF. https://zupimages.net/up/18/20/vvp9.png Sauf que le nom n'est pas complet, et disparaît très vite ! ( surement un wi-fi assez loin). À ce moment-là, j'ai eu pour objectif de savoir ce qu'il se cache dans ondes Wi-Fi de chez nous... J'ai donc codé un petit script Javascript Nodejs pour listé les wifi toutes les 5 secondes, et les enregistrer dans un fichier ( et ne pas enregistrer de doublon bien sur ! ), et j'ai finalement retrouvé le wifi chelou.. https://zupimages.net/up/18/20/gty9.png TADAMMMMM !!!!! 🎉🎉🎉🎉🎉 Après quelques minutes, j'ai retrouvé le wifi chelou.. Si vous voulez essayer par vous même, je vous laisse le code en bas ! ``` var wifi = require('wifi-list') var db = require('node-localdb'); var each = require('array-each'); var DBwifi = db('wifi.json'); function searchWifi(){ wifi(function (err, list) { if (err) throw err each(list, function(ele) { DBwifi.findOne({name: ele.name}).then(function(u){ if(!u) { DBwifi.insert({bssid: ele.bssid, name: ele.name}).then(function(u){ console.log('NEW WIFI DETECTED : ' + ele.name); }); } }); }); setTimeout(function(){ searchWifi(); }, 5000); }) } searchWifi(); ``` N'oubliez pas d'installé les dépendance, puis : node app.js :) A la prochaine ! 👋
author | peneinc |
---|---|
permlink | devenez-un-espion-du-wif-histoire-code-javascript |
category | fr |
json_metadata | {"tags":["fr","javascript","spy","code","dev"],"image":["https://zupimages.net/up/18/20/vvp9.png","https://zupimages.net/up/18/20/gty9.png"],"app":"steemit/0.1","format":"markdown"} |
created | 2018-05-17 14:42:48 |
last_update | 2018-05-18 11:37:33 |
depth | 0 |
children | 8 |
last_payout | 2018-05-24 14:42:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.193 HBD |
curator_payout_value | 0.044 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,701 |
author_reputation | 392,683,459,651 |
root_title | "Devenez un espion du wifi ! ( Histoire + Code Javascript) 🎉" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 56,197,133 |
net_rshares | 49,872,322,351 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
evildido | 0 | 30,729,150,723 | 100% | ||
marketstack | 0 | 2,457,020,981 | 0.85% | ||
lionindayard | 0 | 2,075,462,044 | 0.85% | ||
qurator-tier-0 | 0 | 6,984,875,620 | 2% | ||
peneinc | 0 | 883,697,989 | 100% | ||
iero | 0 | 589,116,109 | 100% | ||
dick.sledge | 0 | 6,152,998,885 | 0.85% |
Mouhahaha. Tu m’autorises à le foutre dans un repo GitHub et faisant un lien sur cet article ?
author | evildido |
---|---|
permlink | re-peneinc-devenez-un-espion-du-wif-histoire-code-javascript-20180517t152307260z |
category | fr |
json_metadata | {"tags":["fr"],"app":"steemit/0.1"} |
created | 2018-05-17 15:23:06 |
last_update | 2018-05-17 15:23:06 |
depth | 1 |
children | 1 |
last_payout | 2018-05-24 15:23:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 96 |
author_reputation | 10,472,899,706,596 |
root_title | "Devenez un espion du wifi ! ( Histoire + Code Javascript) 🎉" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 56,203,649 |
net_rshares | 870,442,519 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
peneinc | 0 | 870,442,519 | 100% |
Bien sur ! :D
author | peneinc |
---|---|
permlink | re-evildido-re-peneinc-devenez-un-espion-du-wif-histoire-code-javascript-20180517t152409134z |
category | fr |
json_metadata | {"tags":["fr"],"app":"steemit/0.1"} |
created | 2018-05-17 15:24:09 |
last_update | 2018-05-17 15:24:09 |
depth | 2 |
children | 0 |
last_payout | 2018-05-24 15:24:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 13 |
author_reputation | 392,683,459,651 |
root_title | "Devenez un espion du wifi ! ( Histoire + Code Javascript) 🎉" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 56,203,817 |
net_rshares | 0 |
Dans le même genre, regarde les "Apple airdrop" disponibles pendant que les passagers entrent dans l'avion. Sur ton iphone/mac, tu vas dans photo, tu prend une photo de ton choix (je te laisse être créatif et audacieux), tu sélectionnes airdrop et tu l'envoies à tous les noms qui s'affichent..
author | iero |
---|---|
permlink | re-peneinc-devenez-un-espion-du-wif-histoire-code-javascript-20180517t205515466z |
category | fr |
json_metadata | {"tags":["fr"],"community":"busy","app":"busy/2.4.0"} |
created | 2018-05-17 20:55:15 |
last_update | 2018-05-17 20:55:15 |
depth | 1 |
children | 3 |
last_payout | 2018-05-24 20:55:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 296 |
author_reputation | 79,062,997,010 |
root_title | "Devenez un espion du wifi ! ( Histoire + Code Javascript) 🎉" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 56,252,749 |
net_rshares | 883,697,989 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
peneinc | 0 | 883,697,989 | 100% |
Les gens reçoive la photo automatiquement ? Sans l'accepter ? :o
author | peneinc |
---|---|
permlink | re-iero-re-peneinc-devenez-un-espion-du-wif-histoire-code-javascript-20180517t210504176z |
category | fr |
json_metadata | {"tags":["fr"],"app":"steemit/0.1"} |
created | 2018-05-17 21:05:03 |
last_update | 2018-05-17 21:05:03 |
depth | 2 |
children | 2 |
last_payout | 2018-05-24 21:05:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 64 |
author_reputation | 392,683,459,651 |
root_title | "Devenez un espion du wifi ! ( Histoire + Code Javascript) 🎉" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 56,254,127 |
net_rshares | 0 |
Ils recoivent un message oui/non et pas mal cliquent sur oui.. Je suis toujours étonné du nombre de personnes qui ne cochent pas la case ´etre vu de ses contacts uniquement’
author | iero |
---|---|
permlink | re-peneinc-re-iero-re-peneinc-devenez-un-espion-du-wif-histoire-code-javascript-20180518t062317640z |
category | fr |
json_metadata | {"tags":["fr"],"community":"busy","app":"busy/2.4.0"} |
created | 2018-05-18 06:23:18 |
last_update | 2018-05-18 06:23:18 |
depth | 3 |
children | 1 |
last_payout | 2018-05-25 06:23:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 174 |
author_reputation | 79,062,997,010 |
root_title | "Devenez un espion du wifi ! ( Histoire + Code Javascript) 🎉" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 56,320,904 |
net_rshares | 0 |
<div class="pull-left"><img src="" /></div> <center>You just received a Tier 0 upvote! Looking for bigger rewards? Click [here](https://steemit.com/qurator/@qurator/qurator-tier-changes) and learn how to get them or visit us on [Discord](https://discord.gg/nhQehdv)</center>
author | qurator-tier-0 |
---|---|
permlink | re-devenez-un-espion-du-wif-histoire-code-javascript-20180518t005634 |
category | fr |
json_metadata | "" |
created | 2018-05-18 00:56:36 |
last_update | 2018-05-18 00:56:36 |
depth | 1 |
children | 0 |
last_payout | 2018-05-25 00:56:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 377 |
author_reputation | 59,310,010,441 |
root_title | "Devenez un espion du wifi ! ( Histoire + Code Javascript) 🎉" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 56,282,874 |
net_rshares | 0 |
Cool ;-)
author | zonguin |
---|---|
permlink | re-peneinc-devenez-un-espion-du-wif-histoire-code-javascript-20180518t181449199z |
category | fr |
json_metadata | {"tags":["fr"],"app":"steemit/0.1"} |
created | 2018-05-18 18:14:51 |
last_update | 2018-05-18 18:14:51 |
depth | 1 |
children | 0 |
last_payout | 2018-05-25 18:14:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 8 |
author_reputation | 12,831,796,837,639 |
root_title | "Devenez un espion du wifi ! ( Histoire + Code Javascript) 🎉" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 56,418,839 |
net_rshares | 0 |