在HTTP中,基本认证(英语:Basic access authentication)是允许http用户代理(如:网页浏览器)在请求时,提供 用户名 和 密码 的一种方式。 访问靶机指定的地址 浏览器自动弹出需要登录认证的请求 先用万能账户密码admin试一下,返回依然是401无权限 但是在请求头中 ...
分类:
Web程序 时间:
2020-10-22 23:04:26
阅读次数:
53
https://www.hoboes.com/Mimsy/hacks/django-actions-their-own-intermediate-page/ class 模型管理类(admin.ModelAdmin): actions = ['自定义方法名'] #下面以行政部分发放多个办公用具给某领 ...
分类:
其他好文 时间:
2020-10-22 22:53:25
阅读次数:
18
一、腾讯云linux云服务器配置LNMP环境 1、登录腾讯云服务器 首先我在腾讯云的官网申请了一个学生版的服务器,操作系统为CentOS 6.3 64位。接下去下载并安装Xshell(一个远程管理linux服务器的客户端软件)。在运行该软件之后,点击新建,在弹出的新建会话属性窗口中,在名称这一栏填写 ...
分类:
系统相关 时间:
2020-10-22 22:34:28
阅读次数:
35
css 水平居中的写法 水平居中 行内元素: text-align: center 块级元素: margin: 0 auto position:absolute +left:50%+ transform:translateX(-50%) display:flex + justify-content: ...
分类:
其他好文 时间:
2020-10-21 21:24:39
阅读次数:
24
""" Django settings for log_collect_statistics project. Generated by 'django-admin startproject' using Django 2.1.15. For more information on this fil ...
分类:
其他好文 时间:
2020-10-21 20:54:52
阅读次数:
19
Editing the attributes of annotation编辑注记属性 Editing the attributes of annotation You can edit annotation attributes in the Attributes window, which pro... ...
分类:
其他好文 时间:
2020-10-21 20:40:20
阅读次数:
20
1、ANR介绍1.1ANR是什么ANR,全称为ApplicationNotResponding,也就是应用程序无响应。如果Android应用的界面线程处于阻塞状态的时间过长,就会触发“应用无响应”(ANR)的错误。此时系统会向用户显示一个对话框,ANR对话框会为用户提供强行退出应用的选项。1.2ANR的四种类型 在Android系统中,应用程序的响应由ActivityMana
分类:
移动开发 时间:
2020-10-21 20:34:47
阅读次数:
36
1.显示/etc目录下,以非字母开头,后面跟了一个字母以及其它任意长度任意字符的文件或目录ls/etc/[^[:alpha:]][[:alpha:]]*2.复制/etc目录下所有以p开头,以非数字结尾的文件或目录到/tmp/mytest1目录中cp-fr/etc/p[^0-9]/tmp/mytest1/[root@Centos_liubin/tmp]#mkdir/tmp/mytest1[root@
分类:
其他好文 时间:
2020-10-19 22:51:54
阅读次数:
20
怎么安装参见CentOS6.9安装Nexus3.19 ,接下来就是如何配置。打开我们安装后的nexus界面,用admin账号登陆,点击Server administration and configuration按钮: 点击Repository 我们可以看到nexus默认给我建好了一些仓库,其中包括 ...
分类:
其他好文 时间:
2020-10-18 09:27:43
阅读次数:
24
str: 不可变 1.1 首字母大写: name = "xieyulin" print(name.capitalize()) 1.2 每个单词首字母大写 name = "yulin%yilin" print(name.title()) 1.3 大小写反转 name = 'Yulin' print(n ...
分类:
其他好文 时间:
2020-10-16 10:30:44
阅读次数:
17