Tutorials
The HackSuite has lots of hidden features that allow you to expand the program even further. You can learn more about the structure of the HackSuite and how to create new add ons for it by reading the tutorials.How to load iframes in your modules
The Plan
If you have used one or more modules you must have seen the iframes used for realtime result display. In this tutorial I'm going to show you how to insert them into your module and how they function.
what we need
We need and a bit of php code in order to get started and a screen file that spits out the content.
the code
The start of your index.php file in your module should look like this:
You can however place the context variable anywhere in your code as long as you put it before your html form.
In case you don't understand what the context variable is about, here's some explanation:
src: source of the iframe
w: width of the iframe
h: height of the iframe
name: name of the iframe
The start of the module with all code would look like this:
You can copy the code above for any module you want to create that requires usage of iframes.