• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

yxchun

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

2022年4月14日

python代码进行ARP欺骗

摘要: ARP欺骗分为主机型欺骗和网关型欺骗 参考文章 https://www.cnblogs.com/xuanhun/p/5802573.html code # encoding: utf-8 # -*- coding: utf8 -*- # arp欺骗 import os import sys impo 阅读全文

posted @ 2022-04-14 11:37 yxchun 阅读(285) 评论(0) 推荐(0)

获取网段中ping不通的IP,并将其顺序保存至txt

摘要: import time import threading import subprocess from queue import Queue from concurrent.futures import ThreadPoolExecutor, wait, ALL_COMPLETED def get_ 阅读全文

posted @ 2022-04-14 11:28 yxchun 阅读(222) 评论(0) 推荐(0)

python 调用dos修改IP 、网关 、子网掩码

摘要: 想要修改成功,必须用管理员才行; 有2种方法:1)python要调用管理员窗口 ; 2)写好后的py文件用管理员执行; 方法1 import ctypes, sys, os, time import datetime cmd1 = "netsh interface ip set address \" 阅读全文

posted @ 2022-04-14 11:17 yxchun 阅读(378) 评论(0) 推荐(0)

DOS,,命令修改IP地址;修改DNS

摘要: 1 修改IP netsh interface ip set address "VMware Network Adapter VMnet8" static 192.168.109.34 255.255.255.0 192.168.109.1 “ ” 里面为网络连接的名称,比如 后面3个参数 2 修改D 阅读全文

posted @ 2022-04-14 11:02 yxchun 阅读(778) 评论(0) 推荐(0)

 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3