Skip to content

Commit e93b484

Browse files
G0RiyAclaude
andcommitted
Add exploit_debug target to Makefile
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 94a696f commit e93b484

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • pocs/linux/kernelctf/CVE-2026-23278_cos/exploit/cos-121-18867.381.30

pocs/linux/kernelctf/CVE-2026-23278_cos/exploit/cos-121-18867.381.30/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,13 @@ libxdk-build :
4040
target_db.kxdb :
4141
wget -O target_db.kxdb https://storage.googleapis.com/kernelxdk/db/kernelctf.kxdb
4242

43-
.PHONY: libmnl-build libnftnl-build libxdk-build libmnl-download libnftnl-download clean
43+
exploit_debug : libmnl-build libnftnl-build libxdk-build target_db.kxdb
44+
$(CC) $(CFLAGS) $(SRCS) -o exploit_debug $(INCLUDES) $(LIBS)
45+
46+
.PHONY: libmnl-build libnftnl-build libxdk-build libmnl-download libnftnl-download clean exploit_debug
4447

4548
clean:
46-
rm -f $(TARGET)
49+
rm -f $(TARGET) exploit_debug
4750
if [ -d $(LIBMNL_DIR)/libmnl-1.0.5 ]; then cd $(LIBMNL_DIR)/libmnl-1.0.5 && make DESTDIR=`realpath ../install` uninstall; fi
4851
if [ -d $(LIBNFTNL_DIR)/libnftnl-1.2.1 ]; then cd $(LIBNFTNL_DIR)/libnftnl-1.2.1 && make DESTDIR=`realpath ../install` uninstall; fi
4952
rm -rf $(LIBMNL_DIR)

0 commit comments

Comments
 (0)