.git could be a file
-
Actually .git is a file, I added wordpress as a submodule
stat /home/olm/website/html/olm/.git File:
/home/olm/website/html/olm/.git’
Size: 40 Blocks: 8 IO Block: 4096 regular file
Device: fe00h/65024d Inode: 630380 Links: 1
Access: (0644/-rw-r–r–) Uid: ( 1002/ olm) Gid: ( 1002/ olm)
Access: 2015-07-02 03:25:11.000000000 +0200
Modify: 2015-07-01 16:26:40.000000000 +0200
Change: 2015-07-02 03:24:35.000000000 +0200
Birth: –There is an openbasedir warning with debug on.
<b>Warning</b>: is_file(): open_basedir restriction in effect. File(/home/olm/website/html/olm/.git/HEAD) is not within the allowed path(s): (/home/olm/website/) in <b>/home/olm/website/html/content/plugins/gauntlet-security/admin/includes/classes/gus_StrayFiles.php</b> on line <b>493</b>
{“test_id”:”gus_StrayFiles”,”class”:”pass”,”title”:”No stray files could be found that are accessible and could be useful to attackers” ….
`
- The topic ‘.git could be a file’ is closed to new replies.