403Webshell
Server IP : 202.155.9.250  /  Your IP : 216.73.216.228
Web Server : LiteSpeed
System : Linux srv339029361 5.15.0-177-generic #187-Ubuntu SMP Sat Apr 11 22:54:33 UTC 2026 x86_64
User : cunco1110 ( 1124)
PHP Version : 8.0.30
Disable Function : 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,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/local/CyberCP/emailMarketing/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/CyberCP/emailMarketing/models.py
# -*- coding: utf-8 -*-


from django.db import models
from websiteFunctions.models import Websites
from loginSystem.models import Administrator

# Create your models here.

class EmailMarketing(models.Model):
    userName = models.CharField(max_length=50, unique=True)

class EmailLists(models.Model):
    owner = models.ForeignKey(Websites, on_delete=models.PROTECT)
    listName = models.CharField(max_length=50, unique=True)
    dateCreated = models.CharField(max_length=200)
    verified = models.IntegerField(default=0)
    notVerified = models.IntegerField(default=0)

class EmailsInList(models.Model):
    owner = models.ForeignKey(EmailLists, on_delete=models.CASCADE)
    email = models.CharField(max_length=50)
    firstName = models.CharField(max_length=20, default='')
    lastName = models.CharField(max_length=20, default='')
    verificationStatus = models.CharField(max_length=100)
    dateCreated = models.CharField(max_length=200)

class SMTPHosts(models.Model):
    owner = models.ForeignKey(Administrator, on_delete=models.CASCADE)
    host = models.CharField(max_length=150, unique= True)
    port = models.CharField(max_length=10)
    userName = models.CharField(max_length=200)
    password = models.CharField(max_length=200)

class EmailTemplate(models.Model):
    owner = models.ForeignKey(Administrator, on_delete=models.CASCADE)
    name = models.CharField(unique=True, max_length=100)
    subject = models.CharField(max_length=1000)
    fromName = models.CharField(max_length=100)
    fromEmail = models.CharField(max_length=150)
    replyTo = models.CharField(max_length=150)
    emailMessage = models.TextField(max_length=65532)

class EmailJobs(models.Model):
    owner = models.ForeignKey(EmailTemplate, on_delete=models.CASCADE)
    date = models.CharField(max_length=200)
    host = models.CharField(max_length=1000)
    totalEmails = models.IntegerField()
    sent = models.IntegerField()
    failed = models.IntegerField()

class ValidationLog(models.Model):
    owner = models.ForeignKey(EmailLists, on_delete=models.CASCADE)
    status = models.IntegerField()
    message = models.TextField()


Youez - 2016 - github.com/yon3zu
LinuXploit