Skip to content

Commit 500466e

Browse files
committed
fix makefile
1 parent 881af88 commit 500466e

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
bin/asm.sh: src/main.sh obj/consts.sh src/macros.sh obj/malloc.bin obj/exec.bin obj/syscall.bin
1+
bin/asm.sh: src/main.sh src/macros.sh obj/malloc.bin obj/exec.bin obj/syscall.bin obj/consts.sh
22
bin/bashpp src/main.sh -o $@
33

44
obj/consts.sh:

README.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ In all these examples, the injected code runs as the main process, meaning you c
4646

4747

4848
## Is this a joke?
49-
No.
5049

5150
# Installation
5251
```bash
@@ -56,10 +55,8 @@ make install
5655
```
5756

5857
# Usage
59-
Once installed, in any shell you can run `source asm.sh`. Make sure to run `asm_init` before running any commands
58+
Once installed, in any shell you can run `source asm.sh`. Make sure to run `asm_init` before running any commands.
6059

60+
Alternatively, you can grab the entire asm.sh from releases and include it inside your bash script if you don't want to manage dependencies.
6161

62-
Alternatively, you can grab the entire [asm.sh] from releases and include it inside your bash script if you don't want to manage dependencies.
63-
64-
65-
Only amd64 is supported currently. ksh is supported but can be buggy sometimes. It may segfault instantly on your machine. I'm not entirely sure why
62+
Only amd64 is supported currently. ksh is supported but can be buggy sometimes. It may segfault instantly on your machine, i'm not entirely sure why

src/restore.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ int ret() {
1313

1414
// it crashes if i don't do this
1515
// i have no idea why
16-
int fd = open("/", 0, 0);
16+
// int fd = open("/", 0, 0);
1717

1818
void *addr = (void *)0xffffffffffff;
1919

0 commit comments

Comments
 (0)