python3
lit0
二进制!!二进制!!二进制!!
新世界的大门!!你好二进制!!!
展开
-
Django学习记录之Django 1.8 教程(我只是官网的搬运工)Tutorial Part 1
Part 1 第一步:创建项目 (确保你path 包含django)$django-admin startproject mysite(mysite为你的项目名字)这将会创建一个项目在你的当前目录。该目录将会包含以一些文件 mysite/ manage.py mysite/ init.py settings.py url原创 2015-11-30 18:26:37 · 568 阅读 · 0 评论 -
黑龙江大学校内图书馆自动预约抢座脚本~~
黑龙江大学 校内图书馆抢座脚本 ~给学弟学妹们抢座的工具~~很简单的一个小脚本~~但是很实用~~ github代码 还支持发送邮箱哦 虽然很鸡肋~~原创 2017-04-08 10:57:52 · 15688 阅读 · 49 评论 -
关于Python对于文件某一行删除/更改的Hack
stackoverflow上的精彩solution http://stackoverflow.com/questions/2329417/fastest-way-to-delete-a-line-from-large-file-in-python code:def removeLine(filename, lineno): fro = open(filename, "r") cu原创 2016-10-15 16:11:24 · 9523 阅读 · 0 评论 -
Django 忘记管理员或忘记管理员密码 重设密码登录教程
看到标题就知道有逗比忘了密码。。。没错就是我。 你也忘了密码? 不要着急! 0x00: 第一步:运行django shellpython3 manage.py runserver0x01: 第二步:重设密码>>> from django.contrib.auth.models import User>>> user = User.object.get(username='y原创 2016-07-22 10:22:17 · 8347 阅读 · 2 评论 -
黑龙江大学 校园网 师生服务 身份验证 查成绩 查绩点等 API 以及示例程序 (Python 验证码自动识别)
特性:python 图片降噪之后 利用 pytesseract, tesseract-ocr 自动识别验证码 不断更新各种 API 应有尽有 点x校园网:) 地址: https://github.com/zltningx/hlju_accesser原创 2016-07-07 11:51:29 · 6524 阅读 · 1 评论 -
django-ckeditor upload image and settings 完全解决方案。实践出真知
题外话:被一个Bug卡半天很正常。。。我也习惯了没有人教你怎么做怎么搞。。。自己动手丰衣足食。。呵呵!PreFace: 个人项目用到了ckeditor 前面配置,使用什么都很简单流水设置。。。 详细教程见: https://github.com/riklaunim/django-ckeditor/tree/master/ckeditor/static/ckeditor/ckedi原创 2016-07-17 20:55:08 · 7065 阅读 · 2 评论 -
django haystack update_index 实现自动化 同步
上官方文档 http://django-haystack.readthedocs.io/en/v2.4.1/signal_processors.html找到RealTime - RealtimeSignalProcessor 一个简单的设置: If the model has an associated SearchIndex, the RealtimeSignalProcessor will原创 2016-07-16 17:57:39 · 1103 阅读 · 0 评论 -
django-haystack & solr 使用过程中的错误记录。。。
使用python3 python3 manage.py rebuild_index # 重建index发现并没建立索引。 WARNING: This will irreparably remove EVERYTHING from your search index in connection ‘default’. Your choices after this are to restore fr原创 2016-07-15 15:13:40 · 1475 阅读 · 0 评论 -
django 部署在 apache2.4 python3.5(验证) 或 3.x(未验证) 版本出现错误.
首先感谢:@GrahamDumpleton 问题链接: github 一天时间。google了各种问题还是解决不了。百撕不得骑…咳咳 位于/var/log/apache2/error.log 出现[Mon Jul 25 20:10:41.247841 2016] [wsgi:error] [pid 18106] mod_wsgi (pid=18106): Call to 'site.a原创 2016-07-25 20:41:25 · 2060 阅读 · 0 评论 -
Python 黑帽子 snffer ip header decoder
解决方案来自:stackoverflow 出现两种error 错误主要与平台有关我使用的是kali 2.0 64 Buffer size too small (20 instead of at least 32 bytes)错误原因:本机是amd64 鸡。。 修改 ip_header = IP(raw_buffer[:20]) 为ip_header = IP(raw_buffer[:32原创 2016-06-30 13:24:44 · 2280 阅读 · 1 评论 -
Python 3 FTP 弱口令&匿名服务器扫描器
请用于合法用途,产生任何后果与本人无关.Log: 2016-7-10 已经上传置github 包含字典简介: FTP服务器扫描器 请与Python3以上环境运行 字典自备 请根据本机配置情况调整线程数 By LiT0 转载请注明@LiT0 谢!#!/usr/bin/env python$# coding=utf-8import原创 2015-12-17 20:54:44 · 1213 阅读 · 0 评论 -
心血来潮 写一篇关于python list 的用法
list 本身就是一个完美的数据结构集合也是python 的魅力特性之一创建一个list>>> a = [str(i) for i in range(10)]>>> a['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']>>> a[0]'0'如上:下标直接寻址,切片索引:>>> a[1:]['1', '2', '3', '4', '5',原创 2016-05-05 19:47:02 · 516 阅读 · 0 评论 -
好吧我承认最近一直入门python! 关于python3 和 python2 List 的一点区别 以及python 通过enumerate 内建函数遍历List
我学到哪就更到哪里好不好? 萌萌哒来我们直接上代码Python 2.7.9 (default, Mar 1 2015, 12:57:24) [GCC 4.9.2] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> x = 'momoda'>>> dy = [x for x原创 2016-05-06 19:59:42 · 1206 阅读 · 0 评论 -
一顿好找。。。Kali linux( debian系 linux) Qt5 安装qt designer
安装Qt 之后发现只有Qt Creator …但是不支持PyQt5呀! 于是想安装一个Qt designer 一开始打sudo apt-get install qt5-designer发现并没有这玩意。。。google一下,原来在 sudo apt-get install qttools5-dev-tools。。。 最后终端敲 designer原创 2016-05-28 13:27:59 · 5614 阅读 · 0 评论 -
利用Python 破解类unix系统 /etc/shadow 文件hashed password
一个比较实用的脚本吧. 破解一些弱口令还行 其他的只能去md5相关网站交钱破解喽还是要自备字典 和 待破解文件 password文件一定是从/etc/shadow 获取的哦#!/usr/bin/env python# coding=utf-8#By LiT0import cryptimport sysfrom concurrent.futures import ThreadPoolExe原创 2016-03-28 14:57:59 · 2698 阅读 · 0 评论 -
Python3 实现网站后台弱口令爆破(多线程)
首先,你得有一个好的密码字典。 程序仅用于学习和交流,如果有更好的功能或不足请告知我! 运行程序前需要burpsuite 或者其他代理拦截,得到post以及爆破实际网址才能继续进行。原创 2015-12-01 21:15:00 · 5347 阅读 · 0 评论 -
Django学习记录之Django 1.8 教程(我只是官网的搬运工)Tutorial Part 2
Part 2原创 2015-11-30 18:53:05 · 704 阅读 · 0 评论 -
自动化企业漏洞扫描器框架
我觉得吧写的不是很好,前台界面不能看。主要支持插件的添加,而且现在插件还在完善中。第二点我觉得是我写这么久才写好真是又懒又菜,捞的就不谈了。 先上代码<—-click me...原创 2018-08-17 18:47:37 · 430 阅读 · 0 评论