File: /home/bashacomputer/.bash_history
#1656703135
hosts
#1656703198
prop
#1753232869
ls
#1753232872
free -h
#1753232904
exit
#1756091111
ls
#1756091127
cd /
#1756091128
ls
#1756091130
cd root/
#1756091131
ls
#1756091134
cd
#1756091135
ls
#1756091147
cat access-logs/
#1756091151
cd access-logs/
#1756091152
ls
#1756091158
cat bashacomputer.com
#1756091177
clear
#1756091178
cd
#1756091179
clear
#1756091183
hostname
#1756091186
hostname -a
#1756091188
hostname -d
#1756091837
ls
#1756091842
cd /etc/
#1756091842
ls
#1756091844
cd mail
#1756091845
ls
#1756091854
ls -al
#1756091856
cd
#1756091857
clear
#1756091858
ls
#1756091862
cdetc
#1756091864
cd etc
#1756091864
ls
#1756091884
cd bashapower.com
#1756091885
ls
#1756091914
cd emails/
#1756091915
ls
#1756091919
cd ..
#1756091920
ls
#1756091925
cat passwd
#1756091939
cd /home/bashapow/mail/bashapower.com/
#1756091943
cd /home/bashapow/mail/
#1756091953
s
#1756091956
ls
#1756091957
pwd
#1756091965
cd ../../mail
#1756091966
ls
#1756091986
cd bashacomputer.com
#1756091986
ls
#1756092034
cd
#1756092034
clear
#1756092036
mail
#1756092039
ls
#1756092049
cd public_
#1756092058
cd public_html
#1756092059
ls
#1756092064
ls -al
#1756092124
hostname -d
#1756092161
/usr/sbin/sendmail
#1756092194
which mail
#1756092204
which /usr/bin/mail
#1756092222
which mailx
#1756092229
which mutt
#1756092247
( echo "Subject: BounceTest"; echo "To: doesnotexist@nonexistentdomain.tld"; echo; echo "trigger bounce"; ) | /usr/sbin/sendmail -t
#1756092271
( echo "Subject: BounceTest"; echo "To: melaravix@gmail.com"; echo; echo "trigger bounce"; ) | /usr/sbin/sendmail -t
#1756092276
mail
#1756092282
/usr/bin/mail
#1756092304
( echo "Subject: BounceTest"; echo "To: doesnotexist@nonexistentdomain.tld"; echo; echo "This will trigger a bounce so we can see the real sender."; ) | /usr/sbin/sendmail -t
#1756092318
mail
#1756092347
hostname -f
#1756092371
echo "Test mail" | sendmail -v your@email.com
#1756092389
echo "Test mail" | sendmail -v melaravix@gmail.com
#1756092864
nano a.py
#1756092870
python3 a.py
#1756092988
import subprocess
#1756092988
import datetime
#1756092988
import json
#1756092988
import time
#1756092988
# --- Files ---
#1756092988
CONFIG_FILE = "config.json"
#1756092988
MAIL_LIST_FILE = "mailist.txt"
#1756092988
LETTER_FILE = "letter.html"
#1756092988
LOG_FILE = "sendmail_log.txt"
#1756092988
# --- Load configuration ---
#1756092988
with open(CONFIG_FILE, "r") as f:
#1756092988
config = json.load(f)
#1756092988
FROM_NAME = config.get("from_name", "No Name")
#1756092988
FROM_EMAIL = "web416@oufick.net"
#1756092988
SUBJECT = config.get("subject", "No Subject")
#1756092988
DELAY = 5 # configurable delay
#1756092988
# --- Load recipients ---
#1756092988
with open(MAIL_LIST_FILE, "r") as f:
#1756092988
recipients = [line.strip() for line in f if line.strip()]
#1756092988
# --- Load email body ---
#1756092988
with open(LETTER_FILE, "r") as f:
#1756092988
BODY_HTML = f.read()
#1756092988
# --- Logging function ---
#1756092988
def log_message(recipient, status):
#1756092988
timestamp = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
#1756092988
entry = f"[{timestamp}] To: {recipient}, Status: {status}\n"
#1756092988
with open(LOG_FILE, "a") as f:
#1756092988
f.write(entry)
#1756092988
# --- Send email ---
#1756092988
def send_email(recipient):
#1756092988
email_text = f"""To: {recipient}
Subject: {SUBJECT}
From: {FROM_NAME} <{FROM_EMAIL}>
Content-Type: text/html; charset=UTF-8
{BODY_HTML}
"""
#1756092988
try:
#1756092988
proc = subprocess.Popen(
#1756092988
["/usr/sbin/sendmail", "-t"],
#1756092988
stdin=subprocess.PIPE,
#1756092988
stdout=subprocess.PIPE,
#1756092988
stderr=subprocess.PIPE
#1756092988
)
#1756092988
stdout, stderr = proc.communicate(email_text.encode())
#1756092988
if proc.returncode == 0:; log_message(recipient, "Accepted by sendmail")
#1756092988
print(f"✅ {recipient} accepted by sendmail")
#1756092988
else:
#1756092988
log_message(recipient, f"Failed: {stderr.decode().strip()}")
#1756092988
print(f"❌ {recipient} failed: {stderr.decode().strip()}")
#1756092988
except Exception as e:
#1756092988
log_message(recipient, f"Error: {str(e)}")
#1756092988
print(f"❌ Exception for {recipient}: {str(e)}")
#1756092988
# --- Main loop ---
#1756092988
if __name__ == "__main__":; for r in recipients:; send_email(r)
#1756092988
time.sleep(DELAY) # delay between sends
#1756092992
nano send.py
#1756093001
nano mailist.txt
#1756093030
nano config.json
#1756093085
nano send1.
#1756093090
nano send.py
#1756093122
python3 send.py
#1756093129
nano letter.html
#1756093135
python3 send.py
#1756093196
nano config.json
#1756093212
python3 send.py
#1756093233
ls
#1756098535
lsls
#1756098537
ls
#1756098542
ls -al
#1756098553
cd .cpanel
#1756098554
ls
#1756098562
ls --al
#1756098565
ls -al
#1756098598
cat email_accounts.json
#1756098632
cat email_accounts.json | grep email
#1756098643
cat email_accounts.json | grep @
#1756098650
cat email_accounts.json | grep '@'
#1756098654
cat email_accounts.json | grep mail
#1756098663
ls
#1756098670
cd ..
#1756098671
ls
#1756098674
ls -al
#1756100071
ls
#1756100085
cd mail/
#1756100086
ls
#1756100090
cd
#1756100091
ls
#1756100114
history
#1756100132
hosts
#1756100170
ls
#1756100173
cd bin
#1756100174
ls
#1756100177
whereis a.py
#1756100185
find . | grep a.py
#1756100201
cd ./public_html/a.py
#1756100203
cat ./public_html/a.py
#1756100552
ls
#1756100557
cd public_
#1756100558
cd public_html/
#1756100560
ls
#1756100564
cd ..
#1756100576
find . | grep send
#1756100592
cat ./public_html/send.py
#1756100670
cd public_html/
#1756100671
cat config.json
#1756100858
ls
#1756100868
nano send.py
#1756100876
grep "from=" /var/log/mail.log | tail -n 20
#1756100883
grep -R "from=" /homepages/logs/
#1756100901
cat /homepages/config/smtp/msmtprc.u85442648
#1756100924
find / | grep msmtprc
#1756100949
l
#1756100954
find / | grep smtp
#1756101027
hostname
#1756101031
whoami
#1756101035
ifconfig
#1756101075
nano send.py
#1756101089
python3 send.py
#1756101149
cat /usr/share/doc/esmtp/sample.esmtprc
#1756101186
cat /usr/bin/esmtp
#1756101193
/usr/bin/esmtp
#1756101197
cd /usr/bin/esmtp
#1756101202
esmtp
#1756101210
esmtp melaravix@gmail.com
#1756101223
cat /home/bashacomputer/.esmtprc
#1756101228
cd /etc/esmtprc
#1756101233
cat /etc/esmtprc
#1756101236
cd /etc/esmtprc
#1756101336
/sys/fs/cgroup/pids/system.slice/smtpmailgidonly.service
#1756101340
cd /sys/fs/cgroup/pids/system.slice/smtpmailgidonly.service
#1756101342
ls
#1756101349
ls -al
#1756101356
cd tasks
#1756101361
./tasks
#1756101365
cat tasks
#1756101372
cat pids.max
#1756101378
cd .
#1756101381
pwd
#1756101381
ls
#1756101388
cd ..
#1756101388
ls
#1756101403
systemctl start smtpmailgidonly.service
#1756101455
systemctl status smtpmailgidonly.service
#1756101532
cat /etc/postfix/main.cf
#1756101542
cd /etc/postfix/
#1756101582
cd /etc
#1756101582
ls
#1756101600
cat host
#1756101601
cat hosts
#1756101614
netstat
#1756101622
netstat grep 587
#1756101626
netstat | grep 587
#1756101656
ps aux | grep nbx
#1756101665
systemctl status nbx-ser
#1756101682
netstat -tulpn | grep nbx
#1756101696
ss -lptn | grep nbx
#1756101703
cat /etc/ssmtp/ssmtp.conf
#1756101708
cat /etc/msmtprc
#1756101713
cat ~/.msmtprc
#1756101747
ss -lptn
#1756101764
ss -lptn | grep 587
#1756101769
ss -lptn | grep 465
#1756101772
ss -lptn | grep 25
#1756101786
find / -type f -name "*nbx*" 2>/dev/null
#1756101833
sudo lsof -i :25 -i :465 -i :587
#1756101874
sudo -l
#1756102500
cd
#1756102501
ls
#1756102508
cd public_html/
#1756102509
cat a.py