Skip to content

Commit 70ce284

Browse files
committed
readme headers, more name conflicts
1 parent 9231564 commit 70ce284

File tree

7 files changed

+53
-34
lines changed

7 files changed

+53
-34
lines changed

-

Whitespace-only changes.

README.md

Lines changed: 52 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
# Test
2+
13
Tests to see how Git web interfaces like GitHub and GitLab work exactly detect bugs.
24

5+
## Mirrors
6+
37
This repository is mirrored at:
48

59
- <https://github.com/cirosantilli/test>
@@ -12,6 +16,8 @@ This repository is mirrored at:
1216
The SSH of those repos can be found at: [remotes.sh](remotes.sh),
1317
including other repos which don't have public view like Atlas.
1418

19+
## Related repositories
20+
1521
Tests that are very large will not be included here to keep this repository small:
1622

1723
- <https://github.com/cirosantilli/test-deep>
@@ -40,68 +46,82 @@ Other similar repos from other people:
4046
Other useful things:
4147

4248
- <https://github.com/holman/feedback/issues>. May contain some extra semi-internal information.
49+
4350
- <https://github.com/showcases/projects-that-power-github>
4451
- <https://github.com/holman/feedback/issues/553> GitHub is hosted on Carpathia
4552
- <https://github.com/holman/feedback/issues/544> GitHub uses Mac?
4653

54+
## Files
55+
4756
The most interesting files on this repository are:
4857

49-
- Markup tests:
58+
Markup tests:
59+
60+
- [md.md](markdown.md)
61+
- [issue-md.md](issue-markdown.md): markdown on issues
62+
- [adoc.adoc](adoc.adoc)
63+
- [rdoc.rdoc](rdoc.rdoc)
64+
65+
Routing conflict attempts:
66+
67+
- [atom.atom](atom.atom)
68+
- [diff](diff)
69+
- [diff.diff](diff.diff)
70+
- [patch.patch](patch.patch)
5071

51-
- [md.md](markdown.md)
52-
- [issue-md.md](issue-markdown.md): markdown on issues
53-
- [adoc.adoc](adoc.adoc)
54-
- [rdoc.rdoc](rdoc.rdoc)
72+
Weird stuff and attacks based on the filenames.
5573

56-
- Routing conflict attempts:
74+
The only filenames which are not valid are:
5775

58-
- [atom.atom](atom.atom)
76+
- contain forward slash `/`
77+
- `.git`
78+
- `.` and `..`, but not `...`
5979

60-
- [svg.svg](svg.svg), with an XSS attempt
80+
Everything else goes:
6181

62-
- Weird stuff and attacks based on the filenames.
82+
- [?a=b&c=d](?a=b&c=d)
6383

64-
The only filenames which are not valid are:
84+
- ["](")
6585

66-
- contain forward slash `/`
67-
- `.git`
68-
- `.` and `..`, but not `...`
86+
- [#](#)
6987

70-
Everything else goes:
88+
- ['](')
7189

72-
- [?a=b&c=d](?a=b&c=d)
90+
- [:](:)
7391

74-
- ["](")
92+
- [;](;)
7593

76-
- ['](')
94+
- [\](\)
7795

78-
- [#](#)
96+
- [-](-)
7997

80-
- [;](;)
98+
- [-start-with-slash](-start-with-slash)
8199

82-
- [:](:)
100+
- [\.md](\.md)
83101

84-
- [-start-with-slash](-start-with-slash)
102+
- whitespace filename edge cases:
85103

86-
- [<script>](<script>)
104+
- [single whitespace filename](%20)
105+
- [double whitespace directory name](%20%20/) and [its README](%20%20/README.md)
106+
- [a b](a b)
87107

88-
- `<script src="data:text;utf8,alert('xss')">`
108+
- Case insensitive filename conflict attempt: [CASE](CASE), [case](case) and [CASE-DIR](CASE-DIR), [case-dir](case-dir). Interestingly, however, `.GIT` fails: <https://gitlab.com/cirosantilli/test-GIT/tree/master>
89109

90-
- [back\slash](back\slash)
110+
Magic Git directories:
91111

92-
- whitespace filename edge cases:
112+
- Git directory inside Git directory: [_git](_git).
93113

94-
- [single whitespace filename](%20)
95-
- [double whitespace directory name](%20%20/) and [its README](%20%20/README.md)
96-
- [a b](a b)
114+
For further mischief, the files in that directory were copied to the top-level of the repository.
97115

98-
- Case insensitive filename conflict attempt: [CASE](CASE), [case](case) and [CASE-DIR](CASE-DIR), [case-dir](case-dir). Interestingly, however, `.GIT` fails: <https://gitlab.com/cirosantilli/test-GIT/tree/master>
116+
Other interesting things to do are the uppercase `.Git` and the `.git` file, which did not fit well in this repository.
99117

100-
- Magic Git directories:
118+
XSS attempts:
101119

102-
- Git directory inside Git directory: [_git](_git).
120+
- [<script>](<script>)
121+
- `<script src="data:text;utf8,alert('xss')">`
122+
- [svg.svg](svg.svg), with an XSS attempt
103123

104-
For further mischief, the files in that directory were copied to the top-level of the repository.
124+
## Refs
105125

106126
Interesting branches and tags:
107127

\

Whitespace-only changes.

back\slash renamed to \.md

File renamed without changes.

diff

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
This file is named `diff` to try and conflict with the GitLab diff URL.
2-
2
1+
Try and conflict with the GitLab diff URL: https://github.com/gitlabhq/gitlabhq/pull/7977

patch.patch

Whitespace-only changes.

a.rb renamed to rb.rb

File renamed without changes.

0 commit comments

Comments
 (0)