/ESP-Bug

ESP8266 based WiFi implant to remotely track the presence of certain people or devices via a simple web interface

Primary LanguageC

ESP Bug

Remote WiFi data logger using ESP8266 and ESPPL library. More documentation soon.

Features


Remote ESP8266 Web Interface


ESP Bug Implant

Installation (Linux)

Update machine

sudo apt update
sudo apt upgrade  

Install Nginx Server and PHP

sudo apt install nginx
sudo apt install php-fpm php-mysql

Edit config file

sudo nano /etc/nginx/sites-available/default

Paste in text file

server {
	listen 80 default_server;
	listen [::]:80 default_server;

	# add webpage directory below
	root /home/user/directory;
	index index.php index.html player.html index.htm index.nginx-debian.html;
	server_name _;

	location / {
		try_files $uri $uri/ =404;
	}
	
	location ~ \.php$ {
		include snippets/fastcgi-php.conf;
		# With php-fpm (or other unix sockets):
		fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
		# With php-cgi (or other tcp sockets):
	#	fastcgi_pass 127.0.0.1:9000;
	}
	
	location ~ /\.ht {
		deny all;
	}
}

Reload Nginx config

sudo service nginx reload

30f9cae248e910039ec2bce31d368cbdcbd6620c