system file xv6 lab

Python multipart/form-data上传图片只有file一个参数的情况

格式: multipart/form-data的基础方法是post,也就是说是由post方法来组合实现的,与post方法的不同之处:请求头,请求体。 multipart/form-data的请求头必须包含一个特殊的头信息: Content-Type,且其值也必须规定为multipart/form-d ......
multipart form-data 只有 参数 情况

-bash: ./test.sh: /bin/bash^M: bad interpreter: No such file or directory

vi close_feature.sh Esc Shift+: :set ff fileformat=dos 利用编辑器内部命令,查看文件格式是:dos 这种格式用于Windows :set ff=unix :wq! :se[t] {option}? Show value of {option}. ......
bash interpreter directory test file

sqli-labs 41到50

第四十一题 判断为数字型注入,如果使用union注入很快可以,但这里可以使用堆叠查询注入 也是跟上一题一样的。 id=1;insert into users(id,username,password) value (21,'sd','bd')--+d 第四十二题 是一个post型传参 再passwo ......
sqli-labs sqli labs

load_file读取敏感信息

1、 replace(load_file(0×2F6574632F706173737764),0×3c,0×20)2、replace(load_file(char(47,101,116,99,47,112,97,115,115,119,100)),char(60),char(32))上面两个是查看一 ......
load_file 信息 load file

Python安装软件包报错 fatal error: Python.h: No such file or directory

原因是我们安装的这个第三方库内含需要编译的调用python api的c/c++文件,而linuxlinux发行版通常会把类库的头文件和相关的pkg-config分拆成一个单独的xxx-dev(el)包。以python为例, 以下情况你是需要python-dev的: ubuntu下 apt-get i ......
Python 软件包 directory fatal error

If you use STDIN or specify a URL pointing to a plain text file, the system places the contents into a file called Dockerfile, and any -f, --file option is ignored.

docker build | Docker Documentation https://docs.docker.com/engine/reference/commandline/build/ In most cases, it’s best to put each Dockerfile in an ......
file Dockerfile the contents pointing

System.lineSeparator() 行分隔符(换行符)

一、System.lineSeparator() 获取行分隔符(换行符) 与‘\n’ 有什么区别 系统的环境变量,那么系统就有肯能有差别 一般的为Window 下和Unix下其所表示意义就会不同。 从源码中可以看出,System.lineSeparator()确实返回的是行分隔符,它会根据当前的电脑 ......
换行符 分隔符 lineSeparator System

sqli-labs 32到40

原来29、30、31真正的题目并不是上章写的,这个我们留到最后再议 第32题 发现对所有特殊字符都进行了转义 理论上来说这道题是不能注入的,因为怎么也闭合不了 但是查看源码发现使用的是gbk编码 这就导致可以考虑宽字节注入,因为\的url编码为%5c 如果在前面加上另一个url编码就可能导致%5c跟 ......
sqli-labs sqli labs

sqli-labs 27到30

第27题 发现对select和union都进行了顾虑 select双写也进行了过滤 但是三写没有过滤哈哈(颇有种赖皮的感觉) 刚学到一手可以用%00绕过注释符过滤。 ?id='uunionnion(sseselectlectelect(1),(database()),(1));%00 http:// ......
sqli-labs sqli labs

Android File Transfer for mac安卓文件传输工具

Android File Transfer for Mac是一款非常有用的软件,它提供了很多独特的功能,使得从Android设备向Mac电脑传输文件变得轻而易举。无论是从一个设备向另一个设备传输文件,还是管理Android设备上的文件,该软件都是一个很好的选择。如果您正在寻找一种简单而可靠的方法来传 ......
Transfer Android 文件 工具 File

sqli-labs 24到26

第24题 这道题是一个二次注入,二次注入一般用于白盒测试,也就是需要看源代码寻找漏洞 我们来看创建新用户的代码: 可以看到先对username和pass进行了转义之后插入用户表。这就导致了二次注入的漏洞, 因为经过转义的信息插入之后变成我们想要的信息,到时候可以利用这些信息进行sql注入。 从上面的 ......
sqli-labs sqli labs

GPT-Introduction about Reversing SD690 Image Files

In this blog post, we will explore the process of reversing the image files of SD690, a Qualcomm Snapdragon processor that is used in some Android dev ......

bat脚本在C:\Program Files (x86)使用普通权限运行与使用管理员权限运行获取当前路径的差异

bat脚本在C:\Program Files (x86)使用管理员权限运行获取当前路径不对。 bat脚本如下: @echo off set "current_dir=%cd%" echo Current directory: %current_dir% set "filepath=%current_ ......
权限 脚本 路径 差异 管理员

docker evel=error msg="error reading the kernel parameter net.ipv4.vs.expire_nodest_conn" error="open /proc/sys/net/ipv4/vs/expire_nodest_conn: no such file or directory"

我使用的是docker swarm -#报错 evel=error msg="error reading the kernel parameter net.ipv4.vs.expire_nodest_conn" error="open /proc/sys/net/ipv4/vs/expire_nod ......
expire_nodest_conn quot error expire nodest

System

......
System

sqli-labs 20到23

第20题 输入用户名密码发现是这样的页面 抓包看看,尝试cookie注入: admin' and extractvalue(1,concat(0x7e,database()))# 其他好做了。 第21题 抓包是这样: 看看这uname什么成分? 可以看到是对admin先进行了base64编码,然后对 ......
sqli-labs sqli labs

MacBook 配置远程 jupyter lab

在从事数据分析/处理过程中,Jupyter Lab 是一个常见且便捷的工具,它属于 Jupyter Notebook 的升级版本。 除了可以在本机搭建 Jupyter 环境,它还支持通过网络远程访问,从而实现在本地编写查看代码,在远程服务器上运行代码的功能。 ## 需求背景 我日常使用的是一台 M1 ......
MacBook jupyter lab

sqli-lab 15到18

第15题 发现不管输入什么都不报错 应该是没有回显的,所以考虑时间盲注: 先判断闭合方式: 建议拿' 、" 、') 、") 、) 、)) 、一个一个试: 时间盲注应该这样试: uname=11&passwd=1' or sleep(4)-- -&submit=Submit 这里注意,刚开始试了很多次 ......
sqli-lab sqli lab

tool_watch_file

import osimport shutilimport time watched_path = '/data/tmp/'#watched_path = '/tmp/'target_dir = '/tmp/guyu/' watched_file = 'index-d-'watched_files = ......
tool_watch_file watch tool file

.net压缩文件(System.IO.Compression.ZipFile)

NuGet安装System.IO.Compression.ZipFile,注意不是System.IO.Compression 优点:不同于ICSharpCode.SharpZipLib.dll的地方是,这个插件可以直接压缩文件夹,文件夹内的文件自动压缩进去了,ICSharpCode.SharpZip ......
Compression ZipFile 文件 System net

File "/usr/bin/yum", line 30 except KeyboardInterrupt, e:

```bash [root@localhost pdserving]# yum install -y tree File "/usr/bin/yum", line 30 except KeyboardInterrupt, e: ^ ``` 原因。python 重新安装过了。 ```bash # 将 ......
KeyboardInterrupt quot except File line

RollingFileAppender[FILE] - openFile(null,true) call failed. java.io.FileNotFoundException: logs/app_2023-05-29.0.log (Permission denied)

2023-05-29 16:25:31 [main] ERROR o.s.boot.SpringApplication - Application run failed java.lang.IllegalStateException: Logback configuration error dete ......

git 报错;bad config in file .gitconfig

## 报错如下 ![image](https://img2023.cnblogs.com/blog/1568773/202305/1568773-20230529105930975-282003761.png) ## 解决办法 删除 `.gitconfig` 文件,然后重启 `gitbash`& ` ......
gitconfig config file git bad

sqli-labs 11到14题

第11题 打开是这种页面 随便输入一个账号密码,查看传参为post方式 这个题有点奇怪,hackbar不能点运行,点了会说form.submit is not a function :不知道大家有没有遇到这种情况 我们查看源码: 应该是name="submit"冲突了 使用burp suite抓包: ......
sqli-labs sqli labs

Linux - 配置file & ftp方式的yum源

环境准备 1、两台Centos服务器:node1、node2 2、配置ip:node1(192.168.56.111)、node2(192.168.56.112) 3、关闭防火墙 systemctl stop firewalld systemctl disable firewalld 4、禁用SEL ......
方式 Linux file amp ftp

sqli_labs_master(LESS-11)

LESS-11 POST提交注入 一般的登录情况都是采用的post提交数据、通过抓包获取到登录信息 枚举数据库字段 查出回显字段 ......
sqli_labs_master master sqli labs LESS

sqli_labs_master(LESS-5)

LESS—5 查看源代码得到 $sql="SELECT * FROM users WHERE id='$id' LIMIT 0,1"; 采用的是 ' ' 闭合,若直接使用/?id=1 and 1=1,则在sql语句中是 $sql="SELECT * FROM users WHERE id='id=1 ......
sqli_labs_master master sqli labs LESS

How to boot the Raspberry Pi system from a USB Mass Storage Device All In One

How to boot the Raspberry Pi system from a USB Mass Storage Device All In One 如何从 USB 启动树莓派引导系统 / 如何从 USB 大容量存储设备启动 Raspberry Pi 系统 ......
Raspberry Storage Device system boot

CS 339 Lab 4: 简单事务

CS 339 Lab 4: SimpleDB TransactionsAssigned: Tuesday, May 23, 2023 Due: Monday, June 5, 2023 11:59PM CentralIn this lab, you will implement a simple l ......
事务 339 Lab CS

org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 16 in the jsp file: /monday-01.jsp

``` org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 16 in the jsp file: /monday-01.jsp System.out canno ......
JasperException jsp occurred compile apache