HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux simsoft.ro 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC 2025 x86_64
User: www-data (33)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //home/florin/.bash_history
sudo -i
sudo -i
sudo apt update
sudo apt upgrade
do-release-upgrade
exit
sudo -i
cd .ssh/
ls
ls -lrta
cd ..
cd cd ..
cd ..
ls
cd moss/
sudo su
ls -lrta
sudo su
exit
sudo do-release-upgrade
sudo apt update
sudo do-release-upgrade
sudo apt install update
sudo apt install upgrade
sudo -i
do-release-upgrade
sudo apt update
sudo apt upgrade
sudo apt update
sudo nano/etc/gdm3/custom.conf
cat /etc/X11/default-display-manager
sudo systemctl status display-manager
sudo nano /etc/gdm3/custom.con
tty
sudo nano /etc/systemd/logind.conf
sudo apt update
sudo -i 
apt list --upgradable
sudo apt upgrade
sudo apt reboot
sudo reboot
sudo -i
sudo apt update
su update
sudo apt update
sudo reboot
sudo apt update
sudo apt upgrade
sudo apt update
sudo apt upgrade
sudo apt update
sudo apt upgrade
sudo apt update
sudo apt upgrade
apt get update
sudo apt update
apt list --upgradable
sudo systemctl status vsftpd
sudo apt install vsftpd
sudo systemctl status vsftpd
sudo ufw allow 20/tcp
sudo ufw allow 21/tcp
sudo ufw reload
ftp 86.122.158.226
sudo systemctl restart vsftpd
sudo sysstemctl status vsftpd
sudo systemctl status vsftpd
sudo nano /etc/vsftpd.conf
sudo systemctl restart vsftpd
sudo ufw allow 20/tcp
sudo ufw allow 21/tcp
sudo ufw reload
ftp 86.122.158.226
ftp 192.168.1.1
sudo ss -tulnp | grep :21
sudo ufw status
hostname -I
curl ifconfig.me
sudo - ss -tul | grep :21
sudo ss -tulnp | grep :21
grep pasv /etc/vsftpd.conf
sudo nano /etc/vsftpd.conf
curl ifconfig.me
sudo nano /etc/vsftpd.conf
sudo systemctl restart vsftpd
grep pasv /etc/vsftpd.conf
sudo ss -tulnp | grep 10000
sudo nano /etc/vsftpd.conf
sudo systemctl restart vsftpd
sudo adduser ftpuser
sudo systemctl status vsftpd
sudo systemctl enable vsftpd
sudo ss -tulpn | grep :21
ftp localhost
ftp 86.122.156.226
ftp 86.122.158.226
ftp 192.168.1.10
sudo apt update
frtp 86.122.158.226
ftp 86.122.158.226
sudo su -
sudo apt update
sudo apt install php8.3 php8.3-fpm php8.3-cli php8.3-mysql php8.3-curl php8.3-xml php8.3-mbstring php8.3-zip php8.3-gd
sudo apt install php8.3
sudo apt install software-properties-common -y
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php8.3 php8.3-cli php8.3-fpm php8.3-mysql php8.3-curl php8.3-mbstring php8.3-xml php8.3-zip php8.3-gd -y
sudo apt upgrade
sudo apt update
su -
su update
su -
sudo apt apt update
sudo apt update
su -
sudo su
su -
sudo restart
restart
sudo reboot
ls -l /home
su -i
su
wp --info
apt install froxlor
su -
apt install froxlor
sudo -i
apt -y install apt-transport-https lsb-release ca-certificates curl gnupg
curl -sSLo /usr/share/keyrings/deb.froxlor.org-froxlor.gpg https://deb.froxlor.org/froxlor.gpg
sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.froxlor.org-froxlor.gpg] https://deb.froxlor.org/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/froxlor.list'
su 
su
su -
su
su-
su 
su
su 
sudo -l
su -l
su
su -l
sudo apt update
su -l
su
sudo 
sudo -i
ls -l /tmp/lshttpd/
sudo systemctl stop lsws
sudo rm /tmp/lshttpd/lsphp.sock
sudo rm /tmp/lshttpd/lsphp.sock.pid
sudo systemctl start lsws
ls -l /tmp/lshttpd/
mysql -u produselemnmasiv -p -h 127.0.0.1
mysql -u root -p
mysql -u produselemnmasiv -p -h 127.0.0.1
sudo su -
sudo su -
passwd
sudo systemctl status ssh
cut -d: -f1 /etc/passwd
sudo mysql -u root -p
sudo
sudo -l
sudo -i
sudo su -
sudo su -
sudo -i
su -i
su - i
su -
cd /var
ls
cd www
ls
cd html
ls
cd ..
cd..
cd ..
cd webmin
ls
cd local
ls
cd ..
cd www
ls
cd html
ls
cd
ps aux | grep -E 'apache2|nginx'
ls /usr/local/openresty/nginx/conf/
grep -R "root " /usr/local/openresty/nginx/conf/root_params.*
cat /usr/local/openresty/nginx/conf/root_params.simsoft
grep -R "root " /usr/local/openresty/nginx/conf/root_params.*
cat /usr/local/openresty/nginx/conf/root_params.dentoutline
cat /usr/local/openresty/nginx/conf/server_params.dentoutline
sudo find / -type d -name "dentoutline*" 2>/dev/null
ls -la /home/florin/sites/dentoutline/current/public
sudo chown -R florin:www-data /home/florin/sites/dentoutline
# directoare
sudo find /home/florin/sites/dentoutline -type d -exec chmod 775 {} \;
# fișiere
sudo find /home/florin/sites/dentoutline -type f -exec chmod 664 {} \;
sudo chmod 755 /home/florin
sudo chmod 755 /home/florin/sites
sudo chmod 755 /home/florin/sites/dentoutline
ls -la /home/florin/sites/dentoutline/current/public
# directoare → 775
sudo find /home/florin/sites -type d -exec chmod 775 {} \;
# fișiere → 664
sudo find /home/florin/sites -type f -exec chmod 664 {} \;
sudo chmod 755 /home/florin
sudo chmod 755 /home/florin/sites
cd /home/florin/sites/dentoutline/current/public
wp user create florinrestore florin.restore@example.com --role=administrator --user_pass='MariaMagdalena69!'
wp db query "UPDATE wp_posts SET post_author = 10 WHERE post_author = 1;"
wp plugin deactivate --all
wp cache flush
Error: The username florinrestore is not registered on this site. If you are unsure of your username, try your email address instead.
Username or Email Address 
Password
Lost your password?
← Go to DentOutline
Privacy Policy
cd /home/florin/sites/dentoutline/current/public
ls
wp user list --format=table
wp db query "SHOW TABLES LIKE '%_users%';"
wp user update florinadmin --user_pass='MariaMagdalena69!'
wp user meta list florinadmin
wp plugin deactivate --all
wp db query "SHOW TABLES LIKE 'wp_users';"
# Șterge userul vechi (florinadmin)
wp user delete florinadmin --reassign=1
# Creează un user nou cu emailul dorit și parola
wp user create florinadmin florin.simsoft@gmail.com --role=administrator --user_pass='MariaMagdalena69!'
# Verifică rolul
wp user get florinadmin --field=roles
wp config get table_prefix
wp user delete florinadmin --yes
wp user create florinadmin florin.simsoft@gmail.com --role=administrator --user_pass='MariaMagdalena69!'
wp user meta list florinadmin
wp plugin deactivate --all
Unknown email address. Check again or try your username.
Username or Email Address 
Password
Lost your password?
← Go to DentOutline
wp config get table_prefix
wp db query "SELECT ID, user_login, user_email, user_pass FROM wp_users;"
wp user update 14 --user_pass=Test1234
wp db query "SELECT user_pass FROM wp_users WHERE ID=14;"
wp option get siteurl
wp eval 'echo ABSPATH;'
ls -la wp-content/mu-plugins
florin@simsoft:~/sites/dentoutline/current/public$ ls -la wp-content/mu-plugins
ls: cannot access 'wp-content/mu-plugins': No such file or directory
florin@simsoft:~/sites/dentoutline/current/public$ 
lorin@simsoft:~/sites/dentoutline/current/public$ ls -la wp-content/mu-plugins
ls: cannot access 'wp-content/mu-plugins': No such file or directory
florin@simsoft:~/sites/dentoutline/current/public$ ^C
florin@simsoft:~/sites/dentoutline/current/public$ florin@simsoft:~/sites/dentoutline/current/public$ ls -la wp-content/mu-plugins
ls: cannot access 'wp-content/mu-plugins': No such file or directory
florin@simsoft:~/sites/dentoutline/current/public$ 
-bash: florin@simsoft:~/sites/dentoutline/current/public$: No such file or directory
Command 'ls:' not found, did you mean:
See 'snap info <snapname>' for additional versions.
-bash: florin@simsoft:~/sites/dentoutline/current/public$: No such file or directory
florin@simsoft:~/sites/dentoutline/current/public$ 
wp theme list
ls ~/sites
cd ..
ls
cd simsoft
ls
cd current
ls
cd public
ls
wp user list
wp user create florinadmin florin.simsoft@gmail.com --role=administrator --user_pass='MariaMagdalena69!'
wp user list
cd /home/florin/sites/fotovoltaicgreen/current/public
wp user list --format=table
wp user create florinadmin florin.simsoft@gmail.com --role=administrator --user_pass='MariaMagdalena69!'
wp user list --format=table
cd ~/sites/isdesign/current/public
wp user create florinadmin florin.simsoft@gmail.com --role=administrator --user_pass='MariaMagdalena69!'
wp user list --format=table
cd ~/sites/produselemnmasiv/current/public
wp user create florinadmin florin.simsoft@gmail.com --role=administrator --user_pass='MariaMagdalena69!'
wp user list --format=table
wp --info
wp user list --role=administrator
find /home/florin -name wp-config.php
for site in /home/florin/sites/*/current/public; do   echo "---- $site ----";   wp user list --role=administrator --path=$site; done
for site in /home/florin/sites/*/current/public; do   wp user update admin --user_pass="MariaMagdalena69!" --path=$site; done
for site in /home/florin/sites/*/current/public; do   echo "---- $site ----";   wp user list --role=administrator --fields=ID,user_login,user_email --path=$site; done
for site in /home/florin/sites/*/current/public; do   wp user delete ceveplzh colidlzh fid.los supperty root --yes --path=$site; done
for site in /home/florin/sites/*/current/public; do   wp user update 1 --user_pass="Mariamagdalena69!" --path=$site; done
for site in /home/florin/sites/*/current/public; do   wp plugin deactivate --all --path=$site; done
grep -R "eval(base64_decode" /home/florin/sites
find /home/florin/sites -type f -name "*.php" -mtime -7
cd /home/florin/sites/dentoutline/current/public
wp user update 1 --user_pass='MariaMagdalena69!'
# DentOutline
cd /home/florin/sites/dentoutline/current/public
wp user update 1 --user_pass='MariaMagdalena69!'
# iPhoneService
cd /home/florin/sites/iphoneservice/current/public
wp user update 1 --user_pass='MariaMagdalena69!'
# IsDesign
cd /home/florin/sites/isdesign/current/public
wp user update 1 --user_pass='MariaMagdalena69!'
# PlasticCarbonFiber3D
cd /home/florin/sites/plasticcarbonfiber3d/current/public
wp user update 1 --user_pass='MariaMagdalena69!'
# ServerGames
cd /home/florin/sites/servergames/current/public
wp user update 1 --user_pass='MariaMagdalena69!'
# SimSoft
cd /home/florin/sites/simsoft/current/public
wp user update 1 --user_pass='MariaMagdalena69!'
# Vind
cd /home/florin/sites/vind/current/public
wp user update 1 --user_pass='MariaMagdalena69!'
# ProduseLemnMasiv
cd /home/florin/sites/produselemnmasiv/current/public
wp user update 1 --user_pass='MariaMagdalena69!'
cd /home/florin/sites/dentoutline/current/public
wp user get 1 --field=user_login
wp user get 1 --field=user_email
cd /home/florin/sites/fotovoltaicgreen/current/public
wp user list --format=table
cd 
cd /home/florin/sites/fotovoltaicgreen/current/public
wp user list --format=table
cd
#!/bin/bash
# Lista directoarelor public ale site-urilor
sites=(   "/home/florin/sites/fotovoltaicgreen/current/public"   "/home/florin/sites/iphoneservice/current/public"   "/home/florin/sites/isdesign/current/public"   "/home/florin/sites/plasticcarbonfiber3d/current/public"   "/home/florin/sites/produselemnmasiv/current/public"   "/home/florin/sites/servergames/current/public"   "/home/florin/sites/simsoft/current/public"   "/home/florin/sites/vind/current/public"   "/home/florin/sites/dentoutline/current/public"   "/home/florin/sites/bursacraiova/current/public" )
# Email-ul contului de păstrat
keep_email="florin.simsoft@gmail.com"
for site in "${sites[@]}"; do     echo "Processing site: $site";     cd "$site" || { echo "Nu am putut intra in $site"; continue; }
    user_ids=$(wp user list --field=ID --email_exclude="$keep_email")         if [ -n "$user_ids" ]; then         echo "Deleting users with IDs: $user_ids";         wp user delete $user_ids --yes;     else         echo "No extra users to delete";     fi; done
cd /home/florin/sites/dentoutline/current/public
wp user list --format=table
cd /home/florin/sites/dentoutline/current/public
wp user create florinadmin florin.simsoft@gmail.com --role=administrator --user_pass=MariaMagdalena69!
cd /home/florin/sites/dentoutline/current/public
wp user create florinadmin florin.simsoft@gmail.com --role=administrator --user_pass=MariaMagdalena69!
cd /home/florin/sites/dentoutline/current/public
# Creează user-ul cu emailul și parola dorită, forțând rolul admin
wp user create florinadmin florin.simsoft@gmail.com --role=administrator --user_pass=MariaMagdalena69! --skip-email
wp user update florinadmin --user_pass=MariaMagdalena69!
wp user set-role florinadmin administrator
cd
cd /home/florin/sites/{nume_site}/current/public
wp user create florinadmin florin.simsoft@gmail.com --role=administrator --user_pass=MariaMagdalena69! --skip-email || wp user update florinadmin --user_pass=MariaMagdalena69!
wp user set-role florinadmin administrator
/home/florin/sites/dentoutline/current/public
cd /home/florin/sites/dentoutline/current/public
wp user list --format=table
wp db query "SELECT ID, user_login, user_email, user_registered, user_pass FROM wp_users;"
wp user update 10 --user_pass='MariaMagdalena69!'
wp user set-role 10 administrator
wp user create testadmin testadmin@example.com --role=administrator --user_pass='Test1234!'
wp db tables | grep users
wp db query "UPDATE wp_users SET user_pass = MD5('MariaMagdalena69\!') WHERE user_login = 'florinadmin';"
wp user update florinadmin --user_pass='MariaMagdalena69!'
uccess: Query succeeded. Rows affected: 1
florin@simsoft:~/sites/dentoutline/current/public$ ^C
florin@simsoft:~/sites/dentoutline/current/public$ wp user update florinadmin --user_pass='MariaMagdalena69!'
Success: Updated user 10.
florin@simsoft:~/sites/dentoutline/current/public$ wp user update florinadmin --user_pass='MariaMagdalena69!'
Success: Updated user 10.
florin@simsoft:~/sites/dentoutline/current/public$ 
wp db query "SELECT ID, user_login, user_email FROM wp_users;"
wp user update florin.simsoft@gmail.com --user_pass='MariaMagdalena69!'
wp user set-role florin.simsoft@gmail.com administrator
wp user delete testadmin --reassign=10
wp user update florinadmin --user_pass='MariaMagdalena69!'
wp user get florinadmin --field=roles
wp user get florinadmin --field=ID
wp user update florinadmin --user_pass='MariaMagdalena69!'
wp user get florinadmin --field=roles
wp site list --field=url
ls /var/www/
ls /home/
cd florin
cd /home/florin
ls
cd sites
ls
cd ~/sites/fotovoltaicgreen
ls -la
cd current
ls -la
cd public
ls -la
nano .htaccess
chmod 444 .htaccess
find wp-content -type f -mtime -1
cd site
ls
cd sites
ls
cd produselemnmasiv
ls
cd current
ls
cd public
ls
nano wp-config.php
nano .htacces
nano wp-login.php
cd wp-content
ls
cd plugins
ls
cd All-In-One-WP-Migration-With-Import-master
ls
nano constants.php
cd ..
cd..
cd
cd sites
ls
cd plasticcarbonfiber3d
ls
cd current
ls
cd public
wp --info
wp user list
wp user create florinadmin florin.simsoft@gmail.com --role=administrator --user_pass="MariaMagdalena69!"
cd
cd sites
ls
cd fotovoltaicgreen
ls
cd current
ls
cd public
wp user list
wp option get siteurl
wp option get home
nano wp-config.php
[200~cd /cale/catre/fotovoltaicgreen.ro/public
wp plugin deactivate --all~
wp plugin deactivate --all
wp theme activate twentytwentyone
wp theme list
Error: The 'twentytwentyone' theme could not be found.
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ ^C
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ wp theme list
+------+--------+--------+---------+----------------+-------------+
| name | status | update | version | update_version | auto_update |
+------+--------+--------+---------+----------------+-------------+
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ 
wp theme install twentytwentythree --activate
ls -ld wp-content
ls -ld wp-content/upgrade
sudo chown -R florin:florin wp-content
chmod -R 755 wp-content
wp theme install twentytwentythree --activate
wp user create florinadmin florin.simsoft@gmail.com --role=administrator --user_pass="MariaMagdalena69!"
grep -R "arji-robi.be" .
ls wp-content/mu-plugins
mysql -u fotovolta -p
grep -R "arji-robi.be" .
wp cache flush
mv .htaccess .htaccess.backup
wp rewrite flush
cd /home/florin/sites/fotovoltaicgreen/current/public
# Backup .htaccess existent
mv .htaccess .htaccess.backup
# Creează unul curat WordPress
wp rewrite flush
Success: Rewrite rules flushed.
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ cd /home/florin/sites/fotovoltaicgreen/current/public
# Backup .htaccess existent
mv .htaccess .htaccess.backup
# Creează unul curat WordPress
wp rewrite flush
mv: cannot stat '.htaccess': No such file or directory
Success: Rewrite rules flushed.
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ 
wget https://wordpress.org/latest.zip
unzip latest.zip
cp -r wordpress/wp-admin/* .
cp wordpress/wp-login.php .
cp -r wordpress/wp-includes/* .
cd /home/florin/sites/fotovoltaicgreen/current/public
ls -lh wp-snapshots
ls -lh
find . -type f -iname "*.zip" -o -iname "*.daf"
mkdir -p ~/duplicator-backups
cp wp-content/backups-dup-pro/20250527_fotovoltaicgreen_b00fca29b6e1b6d14715_20250527131806_archive.zip ~/duplicator-backups/
# Șterge tot din directorul public
rm -rf ./*
# Verifică că backup-ul a fost mutat în siguranță înainte de a șterge
ls ~/duplicator-backups/
sudo rm -rf /home/florin/sites/fotovoltaicgreen/current/public/*
cd /home/florin/sites/fotovoltaicgreen/current/public
wget https://wordpress.org/latest.zip
unzip latest.zip
cp -r wordpress/* .
rm -rf wordpress latest.zip
cp wp-config-sample.php wp-config.php
nano wp-config.php
# Instalează WordPress prin WP-CLI
wp core install --url="https://fotovoltaicgreen.ro" --title="Fotovoltaic Green" --admin_user="florinadmin" --admin_password="MariaMagdalena69!" --admin_email="florin.simsoft@gmail.com"
sudo grep -R "arji-robi.be" /etc/apache2/sites-available/
sudo systemctl restart apache2
sudo a2dissite arji-robi.conf
sudo systemctl restart apache2
sudo apache2ctl -S
wp cache flush
ls -l wp-content/mu-plugins
wp theme install twentytwentythree --activate
curl -I https://fotovoltaicgreen.ro/wp-admin
Warning: twentytwentythree: Theme already installed.
Activating 'twentytwentythree'...
Warning: The 'Twenty Twenty-Three' theme is already active.
Success: Theme already installed.
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ curl -I https://fotovoltaicgreen.ro/wp-admin
HTTP/2 301 
server: openresty
date: Tue, 24 Feb 2026 13:15:35 GMT
content-type: text/html; charset=iso-8859-1
location: http://fotovoltaicgreen.ro/wp-admin/
cache-control: max-age=0
expires: Tue, 24 Feb 2026 13:15:35 GMT
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ 
curl -I https://fotovoltaicgreen.ro/wp-admin
sudo systemctl stop openresty
sudo systemctl disable openresty
sudo systemctl stop openresty
sudo systemctl disable openresty
curl -I https://fotovoltaicgreen.ro/wp-admin
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ sudo systemctl stop openresty
sudo systemctl disable openresty
Synchronizing state of openresty.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable openresty
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ curl -I https://fotovoltaicgreen.ro/wp-admin
curl: (7) Failed to connect to fotovoltaicgreen.ro port 443 after 10 ms: Connection refused
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ 
d-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable openresty
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ curl -I https://fotovoltaicgreen.ro/wp-admin
curl: (7) Failed to connect to fotovoltaicgreen.ro port 443 after 10 ms: Connection refused
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ ^C
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ florin@simsoft:~/sites/fotovoltaicgreen/current/public$ sudo systemctl stop openresty
sudo systemctl disable openresty
Synchronizing state of openresty.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable openresty
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ curl -I https://fotovoltaicgreen.ro/wp-admin
curl: (7) Failed to connect to fotovoltaicgreen.ro port 443 after 10 ms: Connection refused
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ 
-bash: florin@simsoft:~/sites/fotovoltaicgreen/current/public$: No such file or directorySynchronizing state of openresty.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable openresty
Synchronizing: command not found
Executing:: command not found
-bash: florin@simsoft:~/sites/fotovoltaicgreen/current/public$: No such file or directory-bash: syntax error near unexpected token `7'
-bash: florin@simsoft:~/sites/fotovoltaicgreen/current/public$: No such file or directoryflorin@simsoft:~/sites/fotovoltaicgreen/current/public$ 
sudo systemctl stop openresty
sudo systemctl disable openresty
sudo a2enmod ssl
sudo systemctl restart apache2
sudo a2ensite fotovoltaicgreen.conf
sudo systemctl restart apache2
curl -I https://fotovoltaicgreen.ro/wp-admin
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048   -keyout /etc/ssl/private/fotovoltaicgreen.key   -out /etc/ssl/certs/fotovoltaicgreen.crt
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048   -keyout /etc/ssl/private/fotovoltaicgreen.key   -out /etc/ssl/certs/fotovoltaicgreen.crt
sudo systemctl restart apache2
curl -Ik https://fotovoltaicgreen.ro/wp-admin
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ sudo systemctl restart apache2
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ curl -Ik https://fotovoltaicgreen.ro/wp-admin
curl: (35) error:0A00010B:SSL routines::wrong version number
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ 
lorin@simsoft:~/sites/fotovoltaicgreen/current/public$ sudo systemctl restart apache2
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ curl -Ik https://fotovoltaicgreen.ro/wp-admin
curl: (35) error:0A00010B:SSL routines::wrong version number
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ ^C
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ florin@simsoft:~/sites/fotovoltaicgreen/current/public$ sudo systemctl restart apache2
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ curl -Ik https://fotovoltaicgreen.ro/wp-admin
curl: (35) error:0A00010B:SSL routines::wrong version number
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ 
-bash: florin@simsoft:~/sites/fotovoltaicgreen/current/public$: No such file or directory-bash: florin@simsoft:~/sites/fotovoltaicgreen/current/public$: No such file or directory-bash: syntax error near unexpected token `35'
-bash: florin@simsoft:~/sites/fotovoltaicgreen/current/public$: No such file or directoryflorin@simsoft:~/sites/fotovoltaicgreen/current/public$ 

sudo lsof -i :443
sudo netstat -tulpen | grep 443
> ^C
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ sudo lsof -i :443
sudo netstat -tulpen | grep 443
COMMAND    PID     USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
apache2 230300     root    6u  IPv6 74307864      0t0  TCP *:https (LISTEN)
apache2 230301 www-data    6u  IPv6 74307864      0t0  TCP *:https (LISTEN)
apache2 230302 www-data    6u  IPv6 74307864      0t0  TCP *:https (LISTEN)
apache2 230303 www-data    6u  IPv6 74307864      0t0  TCP *:https (LISTEN)
apache2 230304 www-data    6u  IPv6 74307864      0t0  TCP *:https (LISTEN)
apache2 230305 www-data    6u  IPv6 74307864      0t0  TCP *:https (LISTEN)
apache2 230365 www-data    6u  IPv6 74307864      0t0  TCP *:https (LISTEN)
tcp6       0      0 :::443                  :::*                    LISTEN      0          74307864   230300/apache2      
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ 
sudo lsof -i :443
sudo netstat -tulpen | grep 443
# Oprește și dezactivează OpenResty
sudo systemctl stop openresty
sudo systemctl disable openresty
# Activează SSL în Apache
sudo a2enmod ssl
# Creează certificat self-signed temporar
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048   -keyout /etc/ssl/private/fotovoltaicgreen.key   -out /etc/ssl/certs/fotovoltaicgreen.crt
# Activează site-ul și repornește Apache
sudo a2ensite fotovoltaicgreen.conf
sudo systemctl restart apache2
# Verifică HTTPS
curl -Ik https://fotovoltaicgreen.ro/wp-admin
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048   -keyout /etc/ssl/private/fotovoltaicgreen.key   -out /etc/ssl/certs/fotovoltaicgreen.crt
sudo rm -f /etc/ssl/certs/fotovoltaicgreen.crt
sudo rm -f /etc/ssl/private/fotovoltaicgreen.key
sudo systemctl stop openresty
sudo systemctl disable openresty
sudo apt update
sudo apt install certbot python3-certbot-apache -y
sudo certbot --apache -d fotovoltaicgreen.ro
sudo systemctl restart apache2
curl -Ik https://fotovoltaicgreen.ro/wp-admin
sudo systemctl restart apache2
curl -Ik https://fotovoltaicgreen.ro/wp-admin
# Oprește OpenResty
sudo systemctl stop openresty
sudo systemctl disable openresty
# Dezactivează SSL temporar pe toate site-urile afectate
sudo a2dissite *.conf
sudo a2enmod ssl
sudo systemctl restart apache2
# Oprește OpenResty
sudo systemctl stop openresty
sudo systemctl disable openresty
# Dezactivează SSL temporar pe toate site-urile afectate
sudo a2dissite *.conf
sudo a2enmod ssl
sudo systemctl restart apache2
sudo rm -f /etc/ssl/certs/*.crt
sudo rm -f /etc/ssl/private/*.key
sudo apt update
sudo apt install certbot python3-certbot-apache -y
cd ~
ls /etc/apache2/sites-available/
ls /etc/apache2/sites-enabled/
sudo a2ensite 000-default.conf
sudo a2ensite arji-robi.conf
sudo a2ensite bursacraiova.conf
sudo a2ensite dantopala.conf
sudo a2ensite dentoutline.conf
sudo a2ensite fasthor.conf
sudo a2ensite fotovoltaicgreen.conf
sudo a2ensite iphoneservice.conf
sudo a2ensite isdesign.conf
sudo a2ensite plasticcarbonfiber3d.conf
sudo a2ensite produselemnmasiv.conf
sudo a2ensite pungutacu2bani.conf
sudo a2ensite servergames.conf
sudo a2ensite simsoft.conf
sudo a2ensite vind.conf
sudo systemctl reload apache2
curl -I http://fotovoltaicgreen.ro
curl -I http://plasticcarbonfiber3d.com
curl -I http://bursacraiova.ro
sudo systemctl status apache2
Feb 24 15:34:39 simsoft.ro systemd[1]: Starting The Apache HTTP Server...
Feb 24 15:34:39 simsoft.ro systemd[1]: Started The Apache HTTP Server.
Feb 24 15:58:19 simsoft.ro systemd[1]: Reloading The Apache HTTP Server...
Feb 24 15:58:19 simsoft.ro systemd[1]: Reloaded The Apache HTTP Server.
lines 1-22/22 (END)
sudo lsof -i :80
sudo nano /etc/apache2/ports.conf
sudo systemctl restart apache2
sudo lsof -i :80
sudo nano /etc/apache2/ports.conf
grep -R "<VirtualHost" /etc/apache2/sites-available/
sudo sed -i 's/127.0.0.1:8080/*:80/g' /etc/apache2/sites-available/*.conf
grep -R "<VirtualHost" /etc/apache2/sites-available/
sudo systemctl restart apache2
sudo lsof -i :80
sudo certbot --apache -d fotovoltaicgreen.ro -d www.fotovoltaicgreen.ro
sudo apt update
sudo apt install --reinstall ca-certificates -y
ls -l /etc/ssl/certs/ca-certificates.crt
sudo certbot --apache -d fotovoltaicgreen.ro -d www.fotovoltaicgreen.ro
nano ssl-all.sh
chmod +x ssl-all.sh
./ssl-all.sh
sudo grep -R "ServerName\|ServerAlias" /etc/apache2/sites-available/iphoneservice.conf
sudo nano /etc/apache2/sites-available/iphoneservice.conf
sudo systemctl reload apache2
curl -I http://www.iphoneservice.ro
sudo certbot --apache -d iphoneservice.ro -d www.iphoneservice.ro
ls /etc/apache2/sites-available/
nano ~/ssl_all_sites.sh
chmod +x ~/ssl_all_sites.sh
sudo ~/ssl_all_sites.sh
ServerAlias deja prezent pentru fotovoltaicgreen.ro
fotovoltaicgreen.ro
🔐 Generez certificat SSL pentru fotovoltaicgreen.ro
fotovoltaicgreen.ro
fotovoltaicgreen.ro și www.fotovoltaicgreen.ro
fotovoltaicgreen.ro
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for fotovoltaicgreen.ro
fotovoltaicgreen.ro
fotovoltaicgreen.ro and www.fotovoltaicgreen.ro
fotovoltaicgreen.ro
An unexpected error occurred:
The server will not issue certificates for the identifier :: Error finalizing order :: Cannot issue for "fotovoltaicgreen.ro\nfotovoltaicgreen.ro\nfotovoltaicgreen.ro, dns:www.fotovoltaicgreen.ro\nfotovoltaicgreen.ro\nfotovoltaicgreen.ro": Domain name contains an invalid character
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
Adaug ServerAlias www.fotovoltaicgreen.ro in /etc/apache2/sites-available/fotovoltaicgreen‑ssl.conf
🔐 Generez certificat SSL pentru fotovoltaicgreen.ro și www.fotovoltaicgreen.ro
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Certificate not yet due for renewal
Deploying certificate
Successfully deployed certificate for fotovoltaicgreen.ro to /etc/apache2/sites-enabled/fotovoltaicgreen-le-ssl.conf
Successfully deployed certificate for www.fotovoltaicgreen.ro to /etc/apache2/sites-enabled/fotovoltaicgreen-le-ssl.conf
Failed redirect for fotovoltaicgreen.ro
Unable to set the redirect enhancement for fotovoltaicgreen.ro.
NEXT STEPS:
- The certificate was saved, but could not be installed (installer: apache). After fixing the error shown below, try installing it again by running:
Unable to find corresponding HTTP vhost; Unable to create one as intended addresses conflict; Current configuration does not support automated redirecti
sudo apt update && sudo apt upgrade -y
sudo apt autoremove -y
sudo apt install unattended-upgrades -y
sudo dpkg-reconfigure --priority=low unattended-upgrades
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow 22/tcp      # SSH
sudo ufw allow 80/tcp      # HTTP
sudo ufw allow 443/tcp     # HTTPS
sudo ufw enable
sudo ufw status verbose
find wp-content/uploads -type f -name "*.php"
~/sites/fotovoltaicgreen/current/public
cd ~/sites/fotovoltaicgreen/current/public
pwd
find wp-content/uploads -type f -name "*.php"
nano wp-content/uploads/wpallimport/functions.php
rm -rf wp-content/et-cache/*
crontab -l
sudo crontab -l
USE DB_NAME;
UPDATE wp_users 
SET user_pass = MD5('ParolaNoua123!')
WHERE user_login = 'admin';
mysql -u DB_USER -p
nano create-admin.php
rm ~/sites/fotovoltaicgreen/current/public/create-admin.php
ls wp-content/backups-dup-pro/
ls wp-content/ai1wm-backups/
cp wp-content/backups-dup-pro/20250527_fotovoltaicgreen_b00fca29b6e1b6d14715_20250527131806_installer.php.bak create-backup.php
ls -lh wp-content/backups-dup-pro/*.zip
mkdir ~/restore_temp
cp wp-content/backups-dup-pro/20250527_fotovoltaicgreen_b00fca29b6e1b6d14715_20250527131806_archive.zip ~/restore_temp/
cp wp-content/backups-dup-pro/20250527_fotovoltaicgreen_b00fca29b6e1b6d14715_20250527131806_installer.php.bak ~/restore_temp/create-backup.php
cd ~/restore_temp
cd
cd ~/sites/fotovoltaicgreen/current/public
nano .htacces
cd ~/sites/fotovoltaicgreen/current/public
nano .htaccess
chmod 444 .htaccess
<?php phpinfo();
lorin@simsoft:~/sites/fotovoltaicgreen/current/public$ <?php phpinfo();
-bash: syntax error near unexpected token `('
florin@simsoft:~/sites/fotovoltaicgreen/current/public$ 
nano create-admin.php
php -v
sudo systemctl status apache2
sudo systemctl status nginx
sudo a2enmod php8.4
sudo systemctl restart apache2
sudo a2ensite fotovoltaicgreen.conf
sudo systemctl reload apache2
sudo systemctl restart apache2
sudo nano /etc/apache2/sites-available/fotovoltaicgreen.conf
sudo systemctl status php7.4-fpm
ls -l /run/php/
sudo nano /etc/apache2/sites-available/fotovoltaicgreen.conf
sudo apachectl configtest
sudo systemctl reload apache2
sudo systemctl restart apache2
<?php phpinfo();
nano ~/sites/fotovoltaicgreen/current/public/info.php
sudo nano /etc/apache2/sites-available/fotovoltaicgreen.conf
sudo a2ensite fotovoltaicgreen.conf
sudo a2enmod proxy_fcgi setenvif
sudo systemctl reload apache2
sudo systemctl restart apache2
sudo nano /etc/apache2/sites-available/fotovoltaicgreen‑ssl.conf
sudo a2ensite fotovoltaicgreen‑ssl.conf
sudo systemctl reload apache2
sudo chown -R www-data:www-data /home/florin/sites/fotovoltaicgreen/current/public
find /home/florin/sites/fotovoltaicgreen/current/public -type d -exec chmod 755 {} \;
find /home/florin/sites/fotovoltaicgreen/current/public -type f -exec chmod 644 {} \;
nano /home/florin/sites/fotovoltaicgreen/current/public/info.php
sudo apachectl -S
sudo a2enmod ssl
sudo systemctl reload apache2
sudo systemctl restart apache2
sudo systemctl status apache2.service
sudo a2dissite fotovoltaicgreen‑ssl.conf
sudo systemctl reload apache2
sudo systemctl restart apache2
sudo nano /etc/apache2/sites-available/fotovoltaicgreen‑ssl.conf
sudo a2dissite fotovoltaicgreen-ssl.conf
sudo systemctl reload apache2
sudo systemctl restart apache2
sudo a2dissite fotovoltaicgreen-ssl.conf
ls /etc/apache2/sites-enabled/
sudo ls /etc/apache2/sites-enabled/
sudo a2dismod ssl
sudo systemctl restart apache2
sudo apachectl configtest
sudo systemctl status apache2
sudo ss -tulpn | grep :80
sudo ss -tulpn | grep :443
sudo nano /etc/apache2/ports.conf
nano /home/florin/sites/fotovoltaicgreen/current/public/.htaccess
grep -R "arji-robi" -n .
grep -R "redirect" -n .
SELECT * FROM wp_options WHERE option_name IN ('siteurl','home');
grep -E "DB_(NAME|USER|PASSWORD)" wp-config.php
mysql -u fotovolta -p
grep -R "arji-robi" -n /home/florin/sites/fotovoltaicgreen/current/public
grep -R "redirect" -n /home/florin/sites/fotovoltaicgreen/current/public
grep -R "wp_redirect" -n /home/florin/sites/fotovoltaicgreen/current/public
grep -R "base64_decode" -n /home/florin/sites/fotovoltaicgreen/current/public
grep -R "eval(" -n .
grep -R "base64_decode" -n .
grep -R "document.write(" -n .
grep -R "wp_redirect" -n .
cd wp-content
ls
cd /home/florin/sites/fotovoltaicgreen/current/public/wp-content
mv plugins plugins_disabled
cd /home/florin/sites/fotovoltaicgreen/current/public/wp-content/themes
mv nume_tema nume_tema_disabled
cd /home/florin/sites/fotovoltaicgreen/current/public/wp-content
mv plugins plugins_disabled
mv themes themes_disabled
grep -R "base64" -n .
grep -R "atob(" -n .
grep -R "unescape" -n .
cd /home/florin/sites/fotovoltaicgreen/current/public
cp -r /home/florin/sites/fotovoltaicgreen/current/public /home/florin/sites/fotovoltaicgreen_backup_$(date +%F)
mv .htaccess htaccess_backup.txt
cat > .htaccess << 'EOF'
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
EOF

nano wp-config.php
ls -l wp-config.php
sudo nano wp-config.php
find . -type f -name ".htaccess" -print
https://arji-robi.be/wp-login.php?redirect_to=https%3A%2F%2Ffotovoltaicgreen.ro%2Fwp-admin%2F&reauth=1
sudo nano .htaccess
grep -R "header *(" -n .
SELECT option_name, option_value
FROM wp_options
WHERE option_value LIKE '%arji-robi.be%';
mysql -u fotovolta -p
find . -type f -iname "*.php" -mtime -30 -ls
cd /home/florin/sites/fotovoltaicgreen/current/public
mv wp-content/plugins wp-content/plugins_off
ls -l wp-content
find wp-content/uploads -type f -name "*.php"
rm wp-content/uploads/wpallimport/history/*.php
rm wp-content/uploads/wpallimport/temp/*.php
rm wp-content/uploads/wpallimport/logs/*.php
rm wp-content/uploads/wpallimport/files/*.php
rm wp-content/uploads/wpallimport/index.php
rm wp-content/uploads/wpallimport/functions.php
rm -r wp-content/uploads/wpallimport/uploads/58b3fac09c31ef9e51508317351d736e
rm -rf wp-content/plugins/wp-all-import*
DELETE FROM wp_options
WHERE option_name LIKE '%wpallimport%';
DELETE FROM wp_options
WHERE option_value LIKE '%wpallimport%';
cd /home/florin/sites/iphoneservice/current/public
pwd
ls -l
cat wp-config.php | grep -E "DB_NAME|DB_USER|DB_PASSWORD|DB_HOST"
mysql -u iphoneservice -p iphoneservice
cd ..
cd..
cd ..
ls
cd servergames
ls
cd current
ls
cd public
ls
cd /home/florin/sites/servergames/current/public
cat wp-config.php | grep -E "DB_NAME|DB_USER|DB_PASSWORD|DB_HOST"
mysql -u servergames -p servergames
cd /home/florin/sites/fotovoltaicgreen/current/public
sudo nano .htaccess
sudo nano .htacces
curl -I https://fotovoltaicgreen.ro -A "Mozilla/5.0 (iPhone; CPU iPhone OS)"
curl https://fotovoltaicgreen.ro -A "Mozilla/5.0 (iPhone; CPU iPhone OS)" > page_mobile.html
nano page_mobile.html
mysql -u fotovolta -p fotovolta
grep -n "window.location" page_mobile.html
grep -n "location.href" page_mobile.html
grep -n "location.replace" page_mobile.html
grep -n "<script" page_mobile.html
cd /home/florin/sites/fotovoltaicgreen/current/public/wp-content/themes
grep -R "HTTP_USER_AGENT" -n .
grep -R "base64" -n .
grep -R "eval(" -n .
grep -R "atob" -n .
cd /home/florin/sites/fotovoltaicgreen/current/public/wp-content/themes
grep -R "HTTP_USER_AGENT" -n .
grep -R "base64_decode" -n .
grep -R "eval(" -n .
grep -R "atob" -n .
cd wp-content/themes/Divi
grep -R "eval(" -n .
grep -R "base64_decode" -n .
grep -R "HTTP_USER_AGENT" -n .
grep -R "preg_replace_callback" -n .
cd wp-content/themes/Divi
grep -R "redirect" -n .
grep -R "window.location" -n .
grep -R "wp_redirect" -n .
grep -R "HTTP_USER_AGENT" -n .
grep -niE "HTTP_USER_AGENT|android|iphone|redirect" /path/to/site/.htaccess
find wp-content/uploads -type f -name "*.php"
cd
find wp-content/uploads -type f -name "*.php"
grep -R -n "base64_decode" .
grep -R -n "eval(" .
grep -R -n "window.location" .
sudo nano /home/florin/sites/fotovoltaicgreen/current/public/.htaccess
cd /home/florin/sites/simsoft/current/public
cat <<EOF > .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
EOF

nano .htacces
cat <<EOF > .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
EOF

sudo nano .htacces
cat <<EOF > .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
EOF

cd ..
cd..
cd ..
ls
cd iphoneservice
ls
cd current
ls
cd public
cat <<EOF > .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
EOF

cd ..
ls
cd produselemnmasiv
ls
cd current
ls
cd public
cat <<EOF > .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
EOF

cd..
cd ..
ls
cd isdesign
ls
cd current
cd public
cat <<EOF > .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
EOF

cd ..
ls
cd plasticcarbonfiber3d
ls
cd current
ls
cd public
cat <<EOF > .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
EOF

cd ..
ls
cd vind
ls
cd current
ls
cd public
cat <<EOF > .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
EOF

cd
cd /tmp
wget http://www.rfxn.com/downloads/maldetect-current.tar.gz
tar -xvzf maldetect-current.tar.gz
cd maldetect-*
sudo ./install.sh
cd /tmp
sudo wget http://www.rfxn.com/downloads/maldetect-current.tar.gz
sudo tar -xzf maldetect-current.tar.gz
cd maldetect-*
cd
cd maldetect-*
ls -1 /tmp
cd /tmp/maldetect-1.6.6
sudo ./install.sh
maldet --version
sudo nano /usr/local/maldetect/conf.maldet
sudo maldet --mkpubpaths
sudo maldet -u
cd
sudo maldet -a /home/florin/sites