class Redirect(db.Model): __tablename__ = 'redirect' __table_args__ = {"useexisting": True} id = db.Column(db.Integer, primary_key=True) url = db.Column(db.String(1024), nullable=True) payload = db.Column(db.String(1024), nullable=True) method = db.Column(db.String(255), nullable=True) ctime = db.Column(db.DateTime, default=datetime.now())
class Xsser(db.Model): __tablename__ = 'xsser' __table_args__ = {"useexisting": True} id = db.Column(db.Integer, primary_key=True) url = db.Column(db.String(1024), nullable=True) target = db.Column(db.String(255), nullable=True) injection = db.Column(db.String(255), nullable=True) method = db.Column(db.String(255), nullable=True) special = db.Column(db.String(255), nullable=True) browsers = db.Column(db.String(255), nullable=True) final_attack = db.Column(db.String(1024), nullable=True) ctime = db.Column(db.DateTime, default=datetime.now())
class BasicInfo(db.Model): index = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(400), primary_key=True) slogan = db.Column(db.Text) quote = db.Column(db.Text) time = db.Column(db.Text) management = db.Column(db.String(200)) money = db.Column(db.String(100)) location = db.Column(db.String(200)) office = db.Column(db.String(200)) boss = db.Column(db.String(100)) email = db.Column(db.String(200)) website = db.Column(db.String(200)) yewu = db.Column(db.String(200)) level = db.Column(db.String(20))
class FoundationRec(db.Model): investor = db.Column(db.String(400), primary_key=True) foundation = db.Column(db.String(400), primary_key=True) rating = db.Column(db.Float)
class Yewu(db.Model): name = db.Column(db.String(100), primary_key=True) index = db.Column(db.Integer, unique=True)
class FoundationSimilarity(db.Model): foundationA = db.Column(db.String(400), primary_key=True) foundationB = db.Column(db.String(400), primary_key=True) similarity = db.Column(db.Integer)
class FoundationPopularity(db.Model): foundation = db.Column(db.String(400), primary_key=True) popularity = db.Column(db.Integer)
class ProjectInfo(db.Model): index = db.Column(db.Integer, primary_key=True) foundation = db.Column(db.String(400)) project = db.Column(db.String(400)) field = db.Column(db.String(400)) location = db.Column(db.String(400))
class ManagementInfo(db.Model): name = db.Column(db.String(400), primary_key=True) target = db.Column(db.String(400))
class PurityInfo(db.Model): name = db.Column(db.String(400), primary_key=True) target = db.Column(db.Integer)
class LocationInfo(db.Model): name = db.Column(db.String(400), primary_key=True) target = db.Column(db.String(400))
class Sqlmap(db.Model): __tablename__ = 'sqlmap' __table_args__ = {"useexisting": True} id = db.Column(db.Integer, primary_key=True) url = db.Column(db.String(1024), nullable=True) num = db.Column(db.String(255), nullable=True) dbms = db.Column(db.String(255), nullable=True) dbms_version = db.Column(db.String(255), nullable=True) matchRatio = db.Column(db.Float, nullable=True) payload = db.Column(db.String(2048), nullable=True) title = db.Column(db.String(255), nullable=True) vector = db.Column(db.String(255), nullable=True) request_text = db.Column(db.String(1024), nullable=True) ctime = db.Column(db.DateTime, default=datetime.now())