69ff07c2bf368ebc0d6f0700a9735451ed851999,w3af/plugins/audit/global_redirect.py,global_redirect,_javascript_redirect,#global_redirect#Any#,173
Before Change
url_group_re = "(%s)" % "|".join(self.TEST_URLS)
for script_code in res.groups():
script_code = script_code.split("\n")
code = []
for i in script_code:
code.extend(i.split(""))
After Change
window.navigate("http://www.w3af.org");
for statement in self._extract_script_code(response):
if self.TEST_DOMAIN not in statement:
continue
for redir_to_test_domain_re in self.REDIR_TO_TEST_DOMAIN_JS_RE:
if redir_to_test_domain_re.search(statement):
return True
return False
def get_long_desc(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: andresriancho/w3af
Commit Name: 69ff07c2bf368ebc0d6f0700a9735451ed851999
Time: 2018-01-02
Author: andres.riancho@gmail.com
File Name: w3af/plugins/audit/global_redirect.py
Class Name: global_redirect
Method Name: _javascript_redirect
Project Name: undertheseanlp/underthesea
Commit Name: 3a5abc1ad1da00175577c1e65f90d0b17e2b1bd8
Time: 2020-11-02
Author: anhv.ict91@gmail.com
File Name: underthesea/corpus/validate_corpus.py
Class Name:
Method Name: validate_sentence
Project Name: bokeh/bokeh
Commit Name: f82ba26ddda1bf5ccffa2f40707c673f2ee1892f
Time: 2017-06-20
Author: bryanv@continuum.io
File Name: bokeh/plotting/helpers.py
Class Name:
Method Name: _add_sigfunc_info
Project Name: andresriancho/w3af
Commit Name: 69ff07c2bf368ebc0d6f0700a9735451ed851999
Time: 2018-01-02
Author: andres.riancho@gmail.com
File Name: w3af/plugins/audit/global_redirect.py
Class Name: global_redirect
Method Name: _javascript_redirect