简体   繁体   English

从.iso修改index.php

[英]Modify a index.php from an .iso

Hei guys, Im working on a pentesting project, and I wanted to know if there is a way of modify an existing index.php wich is inside an iso. 嗨,我正在做一个渗透测试项目,我想知道是否有一种方法可以修改现有的index.php,它位于iso中。 I get my iso form 我得到我的iso表格

https://pentesterlab.com/exercises/web_for_pentester https://pentesterlab.com/exercises/web_for_pentester

And i want to modify the index.php that it generate, due to be able to just get an exercise on this index. 我想修改它生成的index.php,因为它只能对这个索引进行练习。 Anyone know if is posible? 有人知道这是否可行吗? Thanks 谢谢

mkdir /mnt/iso mount -o loop your.iso /mnt/iso

Copy your files to some directory and make your edits. 将文件复制到某个目录并进行编辑。 Then repack the iso using genisoimage 然后使用genisoimage重新包装iso

genisoimage -o yournew.iso directory

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM