1
0
Commit Graph

138 Commits

Author SHA1 Message Date
5bad772125
Support custom docker commands
Resolves #17
2019-08-30 00:05:50 +00:00
f3b0c07af2
Implements parameter for setting up docker registry server 2019-08-29 22:49:59 +00:00
12b5bd2a99
Introduce global configuration file 2019-08-29 21:12:24 +00:00
e4bed2a4c3
Set version 2019-08-20 22:55:56 +00:00
1ffd68601c
Remove bootstrap, download images on-demand 2019-08-20 09:09:38 +00:00
a08861cc19
Implements KPTI flag 2019-08-20 00:05:19 +00:00
24b2123582
More flexible way to change smep/smap/kaslr while debug 2019-08-19 23:02:34 +00:00
0daf31e3aa
Initial implementation of exploit pack testing 2019-08-18 17:49:11 +00:00
73b39b5c0d
Refactor 2019-08-17 09:35:36 +00:00
986a6f55e0
Refactor [2] 2019-08-17 09:05:06 +00:00
e0c0d3a072
Refactor 2019-08-17 08:51:42 +00:00
eb9ed90571
Generate markdown table statistics for tag 2019-08-16 20:11:35 +00:00
f7c884e4f8
Generate json statistics for tag 2019-08-16 19:31:58 +00:00
085690697d
Flag for number of runs per each kernel 2019-08-16 18:50:34 +00:00
574d5d45c3
Implements tagging 2019-08-16 18:30:46 +00:00
ddec4adf57 Command line flag for changing number of threads 2019-08-16 18:03:30 +00:00
fc50808893 Allow to enable/disable kaslr/smep/smap for debugging 2019-08-16 15:25:16 +00:00
d035e4f8ad Implements build on host and support for custom kernels
Resolves #6
2019-08-16 14:05:26 +00:00
89c3175de4
Add file names to log output 2019-08-16 00:04:57 +00:00
8430eea47f
Implements saving build output
Resolves #9
2019-08-14 17:36:36 +00:00
ecf55a0cdf
Fix bootstrap 2019-08-14 13:15:04 +00:00
b7624f0d28
Implements query for build/insmod/test logs 2019-08-13 23:54:45 +00:00
9175305cb9
Implements basic logs query, success rate calculation
Closes #10
Closes #11
2019-08-13 23:33:52 +00:00
23be05969d
Change email 2019-08-13 21:57:01 +00:00
51fa085170
Store logs in sqlite3 database 2019-08-13 21:54:59 +00:00
caee1b5756
Implements parameter "--max=X" for pew 2019-08-12 23:21:38 +00:00
5dbbb33297
Implements parameter "--max=X" for autogen 2019-08-12 22:58:47 +00:00
6156947406
Make docker permissions errors more obvious 2019-07-10 22:08:04 +00:00
144a8547bc
Move upstream to code.dumpstack.io 2019-02-02 21:25:09 +00:00
d42474892c Reduce main func complexity 2018-12-10 02:51:15 +00:00
880af47cc5 Use go timers for kill docker by timeout, fixes #12 2018-12-08 02:53:29 +00:00
2a3c3ed18e Non-zero exit status if something failed 2018-12-07 03:14:24 +00:00
076a5babb9 Fix typo 2018-12-02 20:25:33 +00:00
bc4129e01c Do not check for kernels config exist 2018-12-02 20:23:48 +00:00
6b0301ec45 Do not exit if kernels config does not exists 2018-12-02 20:20:59 +00:00
825d69b770 Implements command for generate all kernels for distro/version 2018-12-02 19:54:09 +00:00
5682dd99c1 Do not run bootstrap automatically, but suggest it to user 2018-12-02 03:39:54 +00:00
cf0e5efe18 Move bootstrap before kernels check 2018-12-02 03:19:41 +00:00
b459f91a22 Run bootstrap automatically on first run 2018-12-02 03:16:34 +00:00
b0d2c99246 Check for qemu-system-x86_64 not qemu 2018-12-02 03:10:01 +00:00
1488d4b081 Implements fallback if rootfs image not found 2018-12-01 20:18:43 +00:00
b36956c7a4 Bump version in source code 2018-12-01 18:12:44 +00:00
5116ffe015 Implements bootstrap, fixes #3 2018-12-01 17:34:57 +00:00
efe9ff6006 Merge kernels, not just append 2018-12-01 17:13:38 +00:00
72aef7545a Now use two separate config for autogenerated and user-defined kernels 2018-12-01 16:57:15 +00:00
7707f75a02 Allow to force bump docker container 2018-12-01 15:11:43 +00:00
8eff63f2b9 Basic kernel autogeneration (based on current config) implementation 2018-11-28 22:41:17 +00:00
804e0b4879 Move gdb listen address to params 2018-11-25 14:53:56 +00:00
b6dc7e892f Implements kernel debug environment 2018-11-25 14:46:29 +00:00
b9500de0ba Implements skeleton module/exploit config generator 2018-11-23 09:11:18 +00:00
119c2eea58 Implements check for required commands 2018-11-19 15:31:25 +00:00
cc3f536c62 Move kernel command to another file 2018-11-17 20:24:09 +00:00
67dd58921d Remove redutant package name for import 2018-11-17 20:20:36 +00:00
bacee99c7c Move config types to submodule 2018-11-17 20:18:50 +00:00
075998a95f Move pew-related stuff 2018-11-17 19:37:04 +00:00
ea738c994f Produce error if no kernels found 2018-11-17 15:54:02 +00:00
cc87a792c5 Now .out-of-tree.toml can also define version of distro 2018-11-17 15:53:27 +00:00
a138681e1d Set default kernels config path to dotfiles 2018-11-17 13:44:03 +00:00
721e7d49bf Use fatal instead of plain logging for errors 2018-11-17 13:28:56 +00:00
f9963e51a8 Add command for list kernels 2018-11-17 13:20:29 +00:00
c781511e72 Read kernels config outside of pew command 2018-11-17 13:17:28 +00:00
3a6990458b Do not exit if there's no test file 2018-10-31 19:08:01 +00:00
31b5e8a948 Implements ability to test binary modules/exploits
Fixes #4
2018-10-27 19:59:29 +00:00
305c27eb7d Implements setting docker and qemu timeout 2018-10-27 19:06:24 +00:00
8b421f2cf0 Implements basic version guessing 2018-10-27 15:34:52 +00:00
e91af205f4 Allow to enumerate distro types 2018-10-27 15:24:13 +00:00
7040fb7a0b Fix typo (Flag was with a Cmd postfix) 2018-10-27 15:09:28 +00:00
7a68de16ba Implements support build/run/test only for one kernel 2018-10-27 15:00:41 +00:00
6df7c96f0f Get rid of global kingpin 2018-10-27 08:14:10 +00:00
1b9e72802d Refactor argument parsing 2018-10-27 07:48:06 +00:00
672a8e6735 Do not die inside handler, just return error 2018-10-27 07:42:48 +00:00
29c12f18ce Remove unused code 2018-10-27 07:37:51 +00:00
c86a80d702 Rewrited for kingpin command line arguments parser 2018-10-26 18:27:21 +00:00
e7d1e2f327
Change license to GNU AGPLv3 2018-10-08 20:54:18 +00:00
29ae765c22 Check test file with root privileges 2018-10-07 21:12:38 +00:00
89539796bf Add note about panic/timeout 2018-10-07 18:54:17 +00:00
9843778f06 Implements tests for kernel modules 2018-10-07 17:53:57 +00:00
f2340ecdb3 Implements kernel exploit testing routine 2018-10-07 17:30:31 +00:00
4876c01b06 Do not append .ko suffix for exploits 2018-10-07 17:25:44 +00:00
4d6caef219 Use kernel release instead of distro release for file name 2018-10-07 17:25:27 +00:00
f8944f8f48 Avoid "module name is too long" error 2018-10-07 16:34:21 +00:00
7b49ba8d97 Temporary print build errors to stdout 2018-10-07 16:29:39 +00:00
59d86cef7b Use different stages for kernel exploit and kernel module 2018-10-07 14:47:14 +00:00
0f569c88cc Move out dmesg cleaning from run 2018-10-07 14:29:31 +00:00
0e03daf21c Now default source path is current working directory 2018-10-07 08:44:51 +00:00
e1a3de5d05 Must return after found one supported kernel 2018-10-07 08:44:20 +00:00
46122397b5 {artifact,distro}Type unmarshalling 2018-10-07 08:28:31 +00:00
792ad78b15 Basic implementation of out-of-tree util 2018-10-06 19:25:03 +00:00