PHPBB3.X forum hash Hashige (like a filter function added to 12zk6at9 strings in [img] tags)

time:10-09-12 forum:PHPBB forum program, plug-in collection and modification
  Well, a post that recently used the PHPBB3.X forum calls
for example http://www.11jn.com/jnwjz/topic.php? Id=2285
but found that the content of the obtained post has a BBCODE tag, for example, the
, and the post content table of the database also finds the memory. In the 12zk6at9 string.
check, from http://cnc.phpbbchina.com/forum/viewtopic.php? F=25.amp; t=3262 to learn:
[code]$this-.gt; bbcode_uid = substr (base_convert (unique_id (), 16, 36), 0, BBCODE_UID_LEN); The case of post label obfuscation.

to replace the random hash value, then parse the map label, and find the following regular expression function,

[code]function phpbb_ubb ($content)
{
return consultants, from the PHPBB conversion phpwind forum. Flash= (\d?), (\d?):.#91; ^.#93;.#93; \.#93; \/flash.#91; ^.#93;.#93; \.#93; \.#93. /is','/\.#91; audio:.#91; ^.#93;.#93; \.#93; (*?) \.#91; \/audio.#91; ^.#93;.#93; \.#93; /is'. .#93; /i','/.lt; s (.#91; ^.#93;) --.gt;.Lt; img. \/.gt;.Lt; s\\1; (*) \.#91; \/b.#91; ^.#93;.#93; \.#93; /is', u:.#91; ^.#93;.#93; \.#93; \.#91; dialectical; dialectical; dialectical; dialectical; dialectical; dialectical; dialectical; 93;.#93; \.#93; (*?) \.#91; \/code.#91; ^.#93;.#93; \.#93; /is','/\.#91; color=; color=; /flash.#93; ','.#91; wmv=0.#93; \\1.#91; /wmv.#93;'.#91; wmv=314256,0.#93; \\1.#91; /wmv.#93;'.#91; img.#93; \\1.#91. 91; /i.#93; ''.#91; list=a.#93;.#91; li.#93; \\1.#91; /li.#93;.#91; /list.#93;'.#91; code.#93; \\1.#91; ` Then
find [code]$message = censor_text ($row.#91;'post_text'.#93;); [/code]
add
[code]$message = phpbb_ubb ($message) in the rear, [/code]
($message);
$message = str_replace (.Quot;.#91; /img.#93;.Quot;.Quot;.Gt;.Quot;.Quot);

prev:TANA 8205 self use air gun welds one (ne... next:How to parse BBCODE and filter in post_t...
post comment
Notice



approved   A survey of lonely elderly people in...   Salted pickled vegetables are carcin...   Angels don't give up! The brachless ...   A family of four, 30 years of frugal...   20 years ago, the life of Jinan peop...
rand   Summary of error prone in PHP progra...   Solution to phpBB Debug:date_default...   The addition of PHPBB's multimedia p...   More simple, secure upgrades to the ...   PhpBB 3.0.8 released release
ads

other

Because all the contents of this site are reproduced from other media, the intention is to provide free services to the public, but it does not mean that this site agrees with its views, and can not be responsible for the authenticity of its verification, such as the copyright unit or individual of the manuscript does not want to publish on this site, please Contact me, I will immediately remove it, thank you. Contact: atseashawk@163.com