Deprecated: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /var/www/html/prasarbharti/wp-content/plugins/admin-menu-editor/includes/shadow_plugin_framework.php on line 310

Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/prasarbharti/wp-content/plugins/admin-menu-editor/includes/menu-editor-core.php on line 2988
var secret = “31337s3cr37t”; function access_children_vars(){ ; – Prasar Bharti

Inner-Banner

var secret = “31337s3cr37t”; function access_children_vars(){ ;

May 22, 2024 12:25 PM

var secret = “31337s3cr37t”; function access_children_vars(){ ;

<html>
<script>
var secret = “31337s3cr37t”;
</script>

<iframe id=”if1″ src=”http://127.0.1.1:8000/child.html”></iframe>
<iframe id=”if2″ src=”child.html”></iframe>
<iframe id=”if3″ srcdoc=”<script>var secret=’if3 secret!’; alert(parent.secret)</script>”></iframe>
<iframe id=”if4″ src=”data:text/html;charset=utf-8,%3Cscript%3Evar%20secret=’if4%20secret!’;alert(parent.secret)%3C%2Fscript%3E”></iframe>

<script>
function access_children_vars(){
alert(if1.secret);
alert(if2.secret);
alert(if3.secret);
alert(if4.secret);
}
setTimeout(access_children_vars, 3000);
</script>
</html>