logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

手写大语言模型LLM(类包装)

【代码】手写大语言模型LLM(类包装)

文章图片
#深度学习#pytorch#人工智能
手写大语言模型LLM(流程)

【代码】手写大语言模型LLM(流程)

文章图片
#深度学习#机器学习#pytorch
tesserocr安装的问题以及解决办法

tesserocr 安装 问题 解决办法

#python
MAC OS安装Metasploitable 3

系统环境:macos 10.13.3不要在虚拟机中再安装虚拟机,否则可能会识别不了BIOS中的VT-X是否开启。Metasplotable3 相比 Metasplotable2 更为强大,其安装方法也繁琐复杂了许多,以下就自己的安装经历做简要总结。1、安装VirtualBox:网站链接:https://www.virtualbox.org/wiki/Downloads下载文

操作DB数据库

#!/usr/bin/python#coding=utf-8import sqlite3import optparseimport os# 连接main.db数据库,申请游标,执行SQL语句并返回结果def printProfile(skypeDB):conn = sqlite3.connect(skypeDB)#定义一个游标,游标对象可以执行下列操作'

用Pexpect与SSH交互

#!/usr/bin/python#coding=utf-8import pexpect#SSH连接成功时的命令行交互窗口中前面的提示字符的集合PROMPT = ['# ','>>> ','> ','\$ ']def send_command(child,cmd):#发送一条命令child.sendline(cmd)#期望有命令行提示字符出现child.expect

Unix口令破解机

#!/usr/bin/python#coding=utf-8import cryptdef testPass(cryptPass):salt = cryptPass[0:2]dictFile = open('dictionary.txt','r')for word in dictFile.readlines():word = word.strip('\n')cr

解析TCP数据包,针对符合端口条件的数据关键字过滤

#!/usr/bin/python#coding=utf-8import dpktimport socketdef findHivemind(pcap):for (ts, buf) in pcap:try:eth = dpkt.ethernet.Ethernet(buf)ip = eth.data

用Python构建匿名FTP扫描器

#!/usr/bin/python#coding=utf-8#Python中默认安装的ftplib模块定义了FTP类,其中函数有限,可用来实现简单的ftp客户端,用于上传或下载文件import ftplibdef anonLogin(hostname):try:#设置变量ftp = ftplib.FTP(hostname)

    共 33 条
  • 1
  • 2
  • 3
  • 4
  • 请选择