Skip to content

Commit a5739fb

Browse files
committed
Updated LFI script and version.
1 parent 8aadb99 commit a5739fb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

PhpVH/Properties/AssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.4.0.152")]
35+
[assembly: AssemblyVersion("1.4.0.20")]
3636
[assembly: AssemblyFileVersion("1.0.0.0")]

PhpVH/ScanPlugins/LocalFileInclusion.alx

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ exts = [ 'jpg' ];
77
probe = 'lfi_test.txt';
88

99
travSeqs = dotLens
10-
.collect(@(x)slashes
11-
.map(@(y)'.'*x+y)
12-
.collect(@(x)travSeqLens.map(@(y)x*y+probe)));
10+
.selectMany(@(x)slashes
11+
.select(@(y)'.'*x+y)
12+
.selectMany(@(x)travSeqLens.select(@(y)x*y+probe)));
1313

1414
if (exts? && exts.any())
1515
travSeqs = travSeqs
16-
.collect(@(x)exts.map(@(y)x+chr(0)+'.'+y))
16+
.selectMany(@(x)exts.select(@(y)x+chr(0)+'.'+y))
1717
.concat(travSeqs);
1818

1919
ret travSeqs.distinct();

0 commit comments

Comments
 (0)