2016-04-06 11 views
0

HTML'mizi POST değerlerinde ve işareti ve ayırıcıları eklemesiyle ilgili sorun yaşıyorum.HTML POST parametreleri, verileri ayırmak için ve işareti olmadan katı bir blok olarak gönderiliyor

: Ben POST giren ama tüm post parametresinin tanımlanması altında toplanıyordu kurtulmaz Yani ben verileri görüntülemek için burpsuite ve firefox kurcalamaya ADATA kullanılan

<form action="/index.php" enctype="text/plain" method="post"> 
 
\t <div class="rulebody"> 
 
\t \t <p><span class="action" style="font-size:10px;">Action</span></p> 
 
\t \t <p><span class="proto" style="font-size:10px;">Protocol</span></p> 
 
\t \t <p><span class="srcnetwork" style="font-size:10px;">Source Network</span></p> 
 
\t \t <p><span class="srcport" style="font-size:10px;">Source Port/Range</span></p> 
 
\t \t <p><span class="action" style="font-size:10px;">Action</span></p> 
 
\t \t <img class="arrow" src="http://imageprocessor.websimages.com/width/210/crop/0,0,210x210/www.chris-davis.org/arrow.png" style="width:30px;height:35px;" /> 
 
\t \t <p><span class="dstnetwork" style="font-size:10px;">Destination Network</span></p> 
 
\t \t <p><span class="dstport" style="font-size:10px;">Destination Port</span></p> 
 
\t \t <p><span class="sid" style="font-size:10px;">SID</span></p> 
 
\t \t <p><span class="rev" style="font-size:10px;">Rev</span></p> 
 
\t \t <p><select class="actionForm" name="action"><option value="alert">alert</option><option value="log">log</option><option value="pass">pass</option><option value="activate">activate</option><option value="dynamic">dynamic</option><option value="drop">drop</option><option value="reject">reject</option><option value="sdrop">sdrop</option></select></p><p><select class="protoForm" name="Protocol"><option value="tcp">tcp</option><option value="icmp">icmp</option><option value="udp">udp</option><option value="ip">ip</option></select></p><p><input class="srcnetworkForm" name="srcnetwork" type="text" placeholder="$HOME_NET" required/><span style="text-align: center;"></p><input class="srcportForm" maxlength="11" name="srcport" size="10" type="text" placeholder="any" required/></span><input class="dstnetworkForm" name="dstnetwork" type="text" placeholder="$SNORPY_NET" required/></p><span style="text-align: center;"><p><input class="dstportForm" maxlength="11" name="dstport" size="10" type="text" placeholder="$HTTP_PORTS" required/></p></span><p><input class="sidForm" maxlength="7" name="sid" size="7" type="text" placeholder="1000001" required/></p><p><input class="revForm" maxlength="3" name="rev" size="7" type="text" placeholder="1" /></p> 
 
\t \t <p><span class="msg" style="font-size: 10px;">Message Text</span></p> 
 
\t \t <p><span class="classType" style="font-size: 10px;">Class-Type</span></p> 
 
\t \t <p><span class="priority" style="font-size: 10px;">Priority</span></p> 
 
\t \t <p><span class="gid" style="font-size: 10px;">GID</span></p> 
 
\t \t <p><input class="msgForm" name="msg" size="79" type="text" placeholder="Snorpy.com is the SHIZ!!!" required/></p><p><input class="classTypeForm" name="classtype" size="20" type="text" placeholder="ROOTACCESS" required/></p><p><input class="priorityForm" maxlength="1" name="priority" size="5" type="text" placeholder="1" required/></p><p><input class="gidForm" maxlength="10" name="gid" size="6" type="text" /></p> 
 
<input class="submit" type="submit" value="Submit"> 
 
\t </div> 
 
</form>

: İşte alakalı html

alert=alertProtocol=tcpsrcnetwork=asdfsrcport=asdfdstnetwork=asdfdstport=asdfsid=asdfrev=asdmsg=asdfclasstype=asdfpriority=agid=asdfttlevaluator=ttl=ipprotoevaluator=ipprotofield=httpmethodForm=httpmethodForm=tcpdirectionForm=tcpstateForm=udpdirectionForm=datasizeEval=datasize=reftype=referencetext=thresholdtype=trackby=count=seconds=content1=content1offest=content1depth=content2=content2offset=content2depth=pcre1=pcre2=outPutRule= 

Benim html'mde, bunları bir ve işareti ayırıcı olmadan bir araya getirmenin nesi yanlış?

cevap

0

Tamam. Bunu anladım. Temel olarak, sorun içinde:

<form action="/index.php" enctype="text/plain" method="post">

Ben sadece "metin/düz" dışarı enctype = almak zorunda ve işe yaradı.

İlgili konular