Permalink
Browse files

Whitespace alignment

  • Loading branch information...
1 parent 66b90e2 commit a1e4ba1d772b9dd9100f71ced591cd24aa930f22 @wireghoul committed Apr 10, 2013
Showing with 10 additions and 6 deletions.
  1. +3 −1 bedmod/ftp.pm
  2. +7 −5 bedmod/http.pm
View
@@ -71,8 +71,10 @@ sub getQuit{
sub getLoginarray {
my $this = shift;
@Loginarray = (
+ "XAXAX\r\n",
"USER XAXAX\r\n",
- "USER $this->{username}\r\nPASS XAXAX\r\n"
+ "USER $this->{username}\r\nPASS XAXAX\r\n",
+ "PASS XAXAX\r\n"
);
return (@Loginarray);
}
View
@@ -37,16 +37,18 @@ sub getQuit{
sub getLoginarray {
my $this = shift;
@Loginarray = (
- "XAXAX / HTTP/1.0\r\n\r\n",
- "HEAD XAXAX HTTP/1.0\r\n\r\n",
- "HEAD /XAXAX HTTP/1.0\r\n\r\n",
- "HEAD / XAXAX\r\n\r\n",
+ "XAXAX / HTTP/1.0\r\n\r\n",
+ "HEAD XAXAX HTTP/1.0\r\n\r\n",
+ "HEAD /XAXAX HTTP/1.0\r\n\r\n",
+ "HEAD / XAXAX\r\n\r\n",
"GET XAXAX HTTP/1.0\r\n\r\n",
"GET /XAXAX HTTP/1.0\r\n\r\n",
+ "GET /?XAXAX HTTP/1.0\r\n\r\n",
"GET / XAXAX\r\n\r\n",
"GET /XAXAX\r\n\r\n",
"POST XAXAX HTTP/1.0\r\n\r\n",
"POST /XAXAX HTTP/1.0\r\n\r\n",
+ "POST /?XAXAX HTTP/1.0\r\n\r\n",
"POST / XAXAX\r\n\r\n",
"POST /XAXAX\r\n\r\n",
"POST / HTTP/1.0\r\n\r\nXAXAX\r\n\r\n",
@@ -55,7 +57,7 @@ sub getLoginarray {
"POST / HTTP/1.0\r\nContent-Type: multipart/form-data; boundary=---AAAAA\r\n\r\n---AAAAA\r\nContent-Disposition: form-data; name=\"XAXAX\"\r\n\r\ntest\r\n---AAAAA--\r\n\r\n",
"POST / HTTP/1.0\r\nContent-Type: multipart/form-data; boundary=---AAAAA\r\n\r\n---AAAAA\r\nContent-Disposition: form-data; name=\"test\"\r\n\r\nXAXAX\r\n---AAAAA--\r\n\r\n",
"OPTIONS XAXAX HTTP/1.0\r\n\r\n",
- "OPTIONS /XAXAXHTTP/1.0\r\n\r\n",
+ "OPTIONS /XAXAX HTTP/1.0\r\n\r\n",
"OPTIONS / XAXAX\r\n\r\n",
);
return (@Loginarray);

0 comments on commit a1e4ba1

Please sign in to comment.