-
2020-11-20 23:47:58
repo forall -c(command) 命令执行技巧
下载新分支
repo forall -c git checkout -b 本地分支名称(自定义) 服务器分支名称
切换到另一个分支
repo forall -c git checkout your_branch
删除分支
repo forall -c git branch -D 分支名称
丢弃修改
repo forall -c git git reset --hard HEAD
repo forall -r kernel/linux-3.10.y bootable/bootloader/uboot-2015.04 -c git reset --hard HEAD对指定的仓进行操作,-r后跟仓名
不支持如下命令:
repo forall -c git checkout .
repo forall -h /–help 可以查看该命令的帮助
Options:
-h, --help show this help message and exit
-r, --regex Execute the command only on projects matching regex or wildcard expression
-i, --inverse-regex Execute the command only on projects not matching regex or wildcard expression
-g, --groups=GROUPS Execute the command only on projects matching the specified groups
-c, --command Command (and arguments) to execute
-e, --abort-on-errors Abort if a command exits unsuccessfully
Output:
-p Show project headers before output
-v, --verbose Show command error messages
-j, --jobs=JOBS number of commands to execute simultaneously更多相关内容 -
OneForAll安装使用
2022-04-21 14:50:42OneForAll是一款功能强大的子域收集工具 我安装到了kali git clone https://gitee.com/shmilylty/OneForAll.git git clone https://github.com/shmilylty/OneForAll.git 这俩个随便选择了一个 pwd 看一下...OneForAll是一款功能强大的子域收集工具
我安装到了kali
git clone https://gitee.com/shmilylty/OneForAll.git
git clone https://github.com/shmilylty/OneForAll.git
这俩个随便选择了一个 pwd看一下当前目录,因为会安装到当前目录,在当前目录生成OneForAll目录 cd OneForAll python3 OneForAll.py --help 这个命令可能会出错,(kali自己安装了Python) Traceback (most recent call last): File "oneforall.py", line 13, in <module> import fire ModuleNotFoundError: No module named 'fire' 如果出现这个,那就恭喜你中奖了,他提示你没有这个模块,你要一步一步装东西了,
pip3 install fire
如果直接可以安装,那就更好,如果安装不了,看个人问题,我的是源不对,
vi /etc/apt/sources.list
163源:
deb http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
阿里源:
deb http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse
阿里的源好一点,中科大、清华的下载不了,
刷新源列表
sudo apt-get update
然后
Python3 OneForAll.py --hellp
会出现提示,
ModuleNotFoundError: No module named '*****' ****是啥,就安装啥 pip3 install *****
最后就好了, 用法:
NAME oneforall.py - OneForAll是一款功能强大的子域收集工具 SYNOPSIS oneforall.py --target=TARGET <flags> DESCRIPTION Version: 0.0.4 Project: https://git.io/fjHT1 Example: python3 oneforall.py --target Example Domain run python3 oneforall.py --target ./domains.txt run python3 oneforall.py --target example.com --brute True run python3 oneforall.py --target Example Domain --verify False run python3 oneforall.py --target Example Domain --valid None run python3 oneforall.py --target example.com --port medium run python3 oneforall.py --target example.com --format csv run python3 oneforall.py --target example.com --show True run Note: 参数valid可选值1,0,None分别表示导出有效,无效,全部子域 参数verify为True会尝试解析和请求子域并根据结果给子域有效性打上标签 参数port可选值有'small', 'medium', 'large', 'xlarge',详见config.py配置 参数format可选格式有'txt', 'rst', 'csv', 'tsv', 'json', 'yaml', 'html', 'jira', 'xls', 'xlsx', 'dbf', 'latex', 'ods' 参数path为None会根据format参数和域名名称在项目结果目录生成相应文件 ARGUMENTS TARGET 单个域名或者每行一个域名的文件路径(必需参数) FLAGS --brute=BRUTE 使用爆破模块(默认False) --verify=VERIFY 验证子域有效性(默认True) --port=PORT 请求验证的端口范围(默认medium) --valid=VALID 导出子域的有效性(默认1) --path=PATH 导出路径(默认None) --format=FORMAT 导出格式(默认xlsx) --show=SHOW 终端显示导出数据(默认False)
-
OneForAll的下载使用
2022-01-16 20:18:01OneForAll的下载使用安装OneForAll下载
##### 仅适合新手,大佬勿喷
-
下载网站
https://gitee.com/shmilylty/OneForAll.git
https://github.com/shmilylty/OneForAll.git -
下载之后进行解压,进行插件的下载
在cmd中输入
cd OneForAll/
进入oneforall文件
然后输入下面内容进行下载,需要已经按照过pip
python3 -m pip install -U pip setuptools wheel -i https://mirrors.aliyun.com/pypi/simple/
安装完成后进行测试
输入
python oneforall.py -target url run
进行简单测试
下面用的方法耗时较长
打码区域为需要爆破的域名
最后会告诉爆破结果在那里
打码区域就是保存的位置信息
常见的使用方法
python3 oneforall.py version python3 oneforall.py --target example.com run python3 oneforall.py --targets ./domains.txt run python3 oneforall.py --target example.com --valid None run python3 oneforall.py --target example.com --brute True run python3 oneforall.py --target example.com --port large run python3 oneforall.py --target example.com --fmt csv run python3 oneforall.py --target example.com --dns False run python3 oneforall.py --target example.com --req False run python3 oneforall.py --target example.com --takeover False run python3 oneforall.py --target example.com --show True run
最常用的就是 python3 oneforall.py --target example.com --port large run 数据最多
Note:
参数alive可选值True,False分别表示导出存活,全部子域结果
参数port可选值有’default’, ‘small’, ‘large’, 详见config.py配置
参数fmt可选格式有 ‘csv’,‘json’
参数path默认None使用OneForAll结果目录生成路径 -
-
plsql forall 详解
2019-01-22 08:16:04文章目录1 概述1.1 图示2 forall 的三种用法2.1 forall i in index_min .. index_max2.2 forall i in indices of collection2.3 forall i in values of collection3 forall 效率对比 1 概述 1. 作用:提高在 pl/sql ...文章目录
1 概述
1. 作用:提高在 pl/sql 块中,处理 dml 语句的效率 2. "上下文切换": (1) 在 pl/sql 中,'pl/sql 块' 由 'pl/sql 引擎' 处理 (2) 而其中的 'sql 语句' 则由 'pl/sql 引擎' 发送至 'sql 引擎处理' (3) 后者处理完毕后再向前者返回数据,两者之间的通信称为 "上下文切换", 过多的上下文切换将带来过量的性能负载。 3. pl/sql 和 sql 引擎之间的 交互("上下文切换") (1) forall : 用于增强 'pl/sql 引擎' -> 'sql 引擎' 的交互 (2) bulk collect: 用于增强 'sql 引擎' -> 'pl/sql 引擎' 的交互
1.1 图示
举个例子: 在 pl/sql 中处理 10 个 update 语句 (1) 一般的 : 'pl/sql 引擎' '每次' 发送 1 个 update 语句给 'sql 引擎' 处理, "上下文切换" 1 次,共计 10 次 (2) forall: 'pl/sql 引擎' '一次性' 发送 10 个 update 语句给 'sql 引擎' 处理, "上下文切换" 1 次,共计 1 次
2 forall 的三种用法
1. 三种用法 (1) forall i in index_min .. index_max: '下标必须存在',否则报错 (2) forall i in indices of collection : 若下标 '不存在,就跳过'(上述的扩展) (3) forall i in values of collection : 仅插入 values 中 '存在的记录' 2. 注意:forall 后只能紧跟 1 条 dml 语句 3. 基础数据准备 create table stu_info ( sno number(10), sname varchar2(10) );
2.1 forall i in index_min … index_max
-- 注意:'下标必须存在',否则报错 declare type stu_info_table is table of scott.stu_info%rowtype index by pls_integer; v_stu_info_rows stu_info_table; begin -- 制造数据 for i in 1 .. 3 loop v_stu_info_rows(i).sno := i; v_stu_info_rows(i).sname := 'a' || i; end loop; -- 演示报错(下标为 2 的元素不存在) -- v_stu_info_rows.delete(2); -- insert 演示(update、delete 同理) forall i in v_stu_info_rows.first .. v_stu_info_rows.last insert into stu_info values v_stu_info_rows (i); -- commit; end;
测试结果:
sno sname 1 a1 2 a2 3 a3
2.2 forall i in indices of collection
-- 注意:若下标 '不存在,就跳过' declare type stu_info_table is table of scott.stu_info%rowtype index by pls_integer; v_stu_info_rows stu_info_table; begin -- 制造数据 for i in 1 .. 3 loop v_stu_info_rows(i).sno := i; v_stu_info_rows(i).sname := 'a' || i; end loop; -- 演示报错(下标为 2 的元素不存在) v_stu_info_rows.delete(2); -- insert 演示(update、delete 同理) forall i in indices of v_stu_info_rows insert into stu_info values v_stu_info_rows (i); -- commit; end;
测试结果:(跳过了 sno = 2 的记录)
sno sname 1 a1 3 a3
2.3 forall i in values of collection
-- 注意: 仅插入 values 中 '存在的记录' declare type stu_info_table is table of scott.stu_info%rowtype index by pls_integer; type index_table is table of pls_integer; v_stu_info_rows stu_info_table; v_index_table index_table; begin -- 制造数据 for i in 1 .. 3 loop v_stu_info_rows(i).sno := i; v_stu_info_rows(i).sname := 'a' || i; end loop; -- values 记录列表 v_index_table := index_table(1, 3); -- insert 演示(update、delete 同理) forall i in values of v_index_table insert into stu_info values v_stu_info_rows (i); -- commit; end;
测试结果:(没有 sno = 2 的记录)
sno sname 1 a1 3 a3
提示:一般用 pls_integer,除非批处理业务量大于 21,4748,3647,才考虑用 binary_integer
关键字 解释 pls_integer 检索速度快,超过最大长度时会溢出(最大长度: -2^31 至 2^31 - 1
)binary_integer 检索速度一般,超过最大长度是不会溢出 3 forall 与 for 效率对比
结论:
dml 执行效率: forall > for
数据准备:
-- 清空数据,方便测试 truncate table stu_info; create table stu_info_for as select * from stu_info where 1 = 2; -- for create table stu_info_forall as select * from stu_info where 1 = 2; -- forall
效率验证:(50W 数据插入)
declare type stu_info_table is table of scott.stu_info%rowtype index by pls_integer; v_stu_info_rows stu_info_table; v_init_time pls_integer; v_for_time pls_integer; v_forall_time pls_integer; begin -- 制造数据 for i in 1 .. 500000 loop v_stu_info_rows(i).sno := i; v_stu_info_rows(i).sname := 'a' || i; end loop; -- 初始化时间 v_init_time := dbms_utility.get_time; -- 1 演示:for for i in 1 .. 500000 loop insert into stu_info_for values v_stu_info_rows (i); end loop; v_for_time := dbms_utility.get_time; -- 2 演示:forall forall i in 1 .. 500000 insert into stu_info_forall values v_stu_info_rows (i); v_forall_time := dbms_utility.get_time; dbms_output.put_line('for 用时:' || to_char(v_for_time - v_init_time)); dbms_output.put_line('forall 用时:' || to_char(v_forall_time - v_for_time)); -- commit; exception when others then dbms_output.put_line(sqlcode || ' : ' || sqlerrm); dbms_output.put_line(dbms_utility.format_error_backtrace); end;
测试结果:(forall > for,且数据量越大,差异越大)
for 用时:2326 forall 用时:30
提示:dbms_utility.get_time -> 100 = 1s
验证思路:Oracle dbms_utility.get_time 用法 -
oneforall安装使用
2021-06-15 21:06:30安装结束后,再运行oneforall.py会显示 此时安装完成 oneforall的使用 DESCRIPTION OneForAll是一款功能强大的子域收集工具 Example: python3 oneforall.py version python3 oneforall.py --target example.... -
Kali安装和使用oneforall和EHole
2022-04-19 17:17:59上一篇文章写了Kali的安装过程,这篇来写oneforall的安装使用 关于虚拟机的tools安装就不做介绍了网上一搜全是大神写的(其实是因为已经安装了懒得再写一遍) oneforall的下载地址和镜像地址也贴一下 GitHub - ... -
OneForAll子域名工具尝鲜
2020-05-12 09:55:38OneForAll是一款功能强大的子域收集工具 OneForAll基于Python 3.8.0开发和测试,请使用高于Python 3.8.0的稳定发行版本,其他版本可能会出现一些问题(Windows平台必须使用3.8.0以上版本),安装Python环境可以参考... -
OneForAll安装及使用
2021-08-24 18:18:02OneForAll 概述 安装 简单使用 概述 一款功能强大的子域名收集工具 下载地址:https://github.com/shmilylty/OneForAll 安装 安装依赖包 python3 -m pip install -U pip setuptools wheel -i ...python oneforall.py --... -
Oneforall工具分析与改造
2021-09-24 08:31:30前言 在信息收集中,子域名收集...oneforall除提供oneforall.py这个入口文件外, 提供了三个常用入口 brute.py 用于爆破子域名 export.py 用于导出数据 takeover.py #子域接管漏洞 这个不收集子域名 概括oneforall核. -
子域名收集 -- OneForAll
2019-11-20 11:22:40今天给大家介绍一款子域名收集软件OneForAll 下载地址:https://github.com/shmilylty/OneForAll 一、环境 kali python3 二、安装过程: 1、复制到本地安装包 git clone https://gitee.com/shmilylty/OneForAll.git ... -
OneForAll 子域名收集工具
2021-01-19 17:13:35OneForAll 子域名收集工具 前言: 推荐一款超级超级好用的子域名收集工具,快速高效,具体说明请看下面介绍: 介绍: 利用证书透明度收集子域(目前有6个模块:censys_api,certdb_api,certspotter,crtsh,entrust... -
android studio 出现 waiting for all target devices to come online
2021-10-27 17:27:03今天突然间出现这个问题,让我很惊讶!!! 在解决的过程中,我关闭了两次android studio,都没有效果。 最后的解决方案: 删除根目录下边 .gradle文件 build 重启android studio -
KaliLinux-OneForAll子域名扫描神器
2021-04-08 23:25:57文章目录OneForAll简介安装要求安装git版使用帮助信息功能特性结果输出目录 OneForAll简介 “OneForAll”是目前国内使用人数最多最广的一款功能强大的子域名收集开源工具之一,目前在github已经获星3300+。 项目地址... -
ABAP 数据库操作之 FOR ALL ENTRIES IN
2020-05-07 14:28:31查询结果为: 透明表SPFLI中CARRID为AA、AZ的记录为: 总结:对于所选字段CARRIDCOUNTRYFRCOUNTRYTO若具有相同...注意:1、若使用FOR ALL ENTRIES IN语句前,IT_SPFLI内表为空,则会查询出所有记录。一般需要... -
error: C++ requires a type specifier for all declarations
2021-01-19 22:58:14Line 4: Char 5: error: C++ requires a type specifier for all declarations rep[‘a’]=rep[‘b’]=rep[‘n’]=1; 源代码片如下: class Solution { unordered_map<char,int> rep,cnt; public: rep['a']... -
C++ requires a type specifier for all declarations
2021-03-04 19:40:43#definde后面千万别有分号,好久不编c++了,记录一下自己的问题 -
OneForAll一款功能强大的子域收集工具
2020-03-26 01:48:52OneForAll强大、友好、持续维护、效率高;就像名字一样 详细介绍可以看项目地址 项目地址 https://github.com/shmilylty/OneForAll Kali下的安装 git clone https://gitee.com/shmilylty/OneForAll.git sudo apt ... -
Waiting for all target devices to come online尝试解决办法
2020-10-11 15:08:09Waiting for all target devices to come online尝试解决办法 尝试重启as和win10电脑 尝试avd manager修改模拟手机的数据wipe data和cold boot now 关闭as后,在系统终端打开platform-tools文件夹,输入adb ... -
Android Studio 出现 Waiting for all target devices to come online
2020-07-22 11:45:55Android Studio 真机运行项目出现Waiting for all target devices to come online 一般出现这个问题大多是adb被占用的导致的,所以可以先用adb命令检查一下,如下: 输入adb device 查看一下是否有设备信息,如果... -
FOR ALL ENTRIES IN 应该注意的问题
2018-07-17 00:13:20注意三点: 1、使用前必须判断使用的内表是否为空 如果为空,就会使WHERE条件失效,...FOR ALL ENTRIES IN 是把一个SQL分解成多个SQL去执行,然后把结果汇总去重后返回,这个去重的动作其实就是做一个DISTINCT. ... -
python:关于install launcher for all users 无法勾选的问题
2021-02-02 22:30:54解决方法一:以管理员身份运行安装文件 解决方法二:之前的python没有卸载干净 去控制面板里面的卸载程序里面卸载 卸载完了就可以勾选啦 -
解决waiting for all target devices to come online卡住不动、长时间不加载的情况
2021-04-28 16:07:24这个问题是由虚拟机引起的,所以要到AVD manager解决: 第一步:先关掉你自己的模拟器 第二步:打开AVD manager,找到你自己的模拟器,里面有一个选项Cold Boot Now(冷启动),或者点击Wipe Data(擦除),后者需要重新... -
repo forall
2017-07-05 20:34:22repo forall可以遍历每个repo仓库并执行同样的命令 用法为: repo forall [...] -c [...] -c后可以直接跟任何shell命令 eg: repo forall -p -c git checkout branch_name repo forall -h Usage: repo ... -
qt 配置 Android 时 All essential packages installed for all 。。。一行打叉
2020-07-21 17:08:31开始网上查了一圈,最后在Android studio中sdkmanger 安装NDK(Obsolete)后,Qt会提示安装后续的一些东西。 Qt 5.12.4 Qt Creator 4.12.2 -
using a filter for all users can load to poor performance
2020-03-26 10:41:42PL/SQL 登陆时提示 using a filter for all users can load to poor performance 该报错为PL/SQL软件报错,对数据库性能无影响 按照以下步骤修改过滤器设置,可以取消报错 打开软件后, tools, object browser ... -
row xxxx doesn't contain data for all columns
2020-01-15 19:09:32向Mysql导入数据中时出现了row xxxx doesn't contain data for all columns报错 原因是数据有\r\n,所以这列被换行置空了,把数据过滤一遍去掉里面的\r\n就OK了 参考官网给的解决方法 ... -
SAP_ABAP_什么时候用FOR ALL ENTRIES IN及其使用注意事项
2018-06-12 20:49:17当需要在LOOP中使用查询语句时,或者当不能使用JOIN的簇表查询时。 1、内表不能为空; 2、内表先排序再排重; 3、使用该语句,对于最后得出的结果集系统会自动删除重复行(如果要保留重复行记录,要在SELECT语句... -
oracle forall关键字进行批量操作
2017-04-11 11:20:37两个数据操纵语言(DML)语句:BULK COLLECT和FORALL。 这两个语句在PL/SQL内部进行一种数组处理;BULK COLLECT提供对数据的高速检索,FORALL可大大改进INSERT、UPDATE和DELETE操作的性能。Oracle数据库使用这些... -
repo forall -c
2017-01-13 10:22:55Usage: repo forall [...] -c [...] repo forall -r str1 [str2] ... -c [...]" 遍历所有的git仓库,并在每个仓库执行-c所指定的命令(被执行的命令不限于git命令,而是任何被系统支持的命令,比如:ls 、 pwd 、cp ... -
repo forall -c 用法
2017-10-24 17:55:281.repo forall命令 # repo forall -help # repo forall -c: 此命令遍历所有的git仓库,并在每个仓库执行-c所指定的命令,被执行的命令不限于git命令,而是任何被系统支持的命令,比如:ls, git log, git status等 ...