aboutsummaryrefslogtreecommitdiff
path: root/_www/index.html
AgeCommit message (Collapse)Author
2025-02-03all: split the CSS into separate fileShulhan
Instead of inside the index.html split the CSS so we can modify them without touching the HTML.
2024-02-07all: rename the project to gorankusuShulhan
The original idea of "trunks" is because the core library that we use for load testing is named "vegeta" (from Dragon Ball) [1][2], and Vegeta has a son named Trunks. In English, trunks also have multiple meanings. In order to have a unique name, we rename the project to "gorankusu", which is a combination of "go" (the main programming language that built the application) and "torankusu" the Hepburn of "Trunks". [1]: https://github.com/tsenart/vegeta/ [2]: https://en.wikipedia.org/wiki/Vegeta Implements: https://todo.sr.ht/~shulhan/gorankusu/2
2022-03-14all: changes the license of trunks software to GPL 3.0 or laterShulhan
See https://kilabit.info/journal/2022/gpl for more information.
2021-12-21all: add feature to register custom navigation linkShulhan
Using Trunks.RegisterNavLink, one can register custom link into left navigation menu.
2021-09-28www: group related fields to use fieldset instead of headerShulhan
Currently we are experimenting changing the layout for grouping input fields from flat layout into fieldset, so user can see more separation between each sub-section.
2021-09-27all: implement WebSocket APIShulhan
The WebSocket API replace the HTTP APIs for running and canceling attack. Later, it will use to notify the result of attack.
2021-09-23_www: word wrap the input labelShulhan
In case the label is longer than 200px, break them by words.
2021-09-23_www: fix the layout using px instead of emShulhan
Using em is hard to calculate between fixed menu on the left, content, and header. Especially when there is an element that needs width larger than parent width (the header of target).
2021-09-22_www: fix missing variables not rendered on TargetShulhan
Also, * allow auto scroll to the target top content when the Target menu clicked * fix header overflow on HTTP and WebSocket target
2021-09-19all: display notification on failed or success RunShulhan
Previously, after clicking the "Run" button user need to inspect the "Run output" to check if the request is success or fail. This changes, display a notification everytime the "Run" finished. It will display the notification as error or success based on the HttpStatusCode inside the RunResponse
2021-09-19all: add option to set description (Hint) on any inputs elementShulhan
This changes refactor the KeyValue from map[string]string into map[string]FormInput, where FormInput is a struct with Label, Hint, Kind, Value, Max, and Min. With the available of Hint field, the web user interface can render it as description of input. This changes also make all input hint to be displayed on the first render.
2021-09-18_www: add "hint" for input of Environment and Attack optionsShulhan
The hint is a text that will be displayed when the icon "i" on the right side of input is clicked. It provide a description of input.
2021-09-18www: refactoring using TypeScript and wui libraryShulhan
Previously, the web user interface is written in pure, single JavaScript file. The LOC is short but its become hard to maintenance, especially when there is a change in HTML layout or on the response format. This changes rewrite the interface to use TypeScript in order to easily maintenance. The generated JavaScript is loaded using module [1]. [1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
2021-09-09_www: set the HTTP and WebSocket background titleShulhan
This is to make the target title distinguishable in between another titles.
2021-09-02_www: implement hash location on each targetShulhan
When user click the target, the location hash will be set to the target id. By setting the hash, we can allow user to refresh the page and render the previous selected target.
2021-09-02_www: reformat all with new prettier configShulhan
2021-08-07all: embed the stylesheet directly into HTML fileShulhan
This is to minimize number of files being served by server.
2021-03-27_www: display list of HTTP and WebSocket target on navigationShulhan
While at it, fix height and autoscroll on left navigation.
2021-03-21all: implement interface and API to cancel running attackShulhan
On the top of the page, it will display currently running attack with target name and HTTP target name. User can cancel the attack by clicking "Cancel" button on the right.
2021-03-21all: implement interface and API to delete attack resultShulhan
When user clicking the "Delete" button on attack result item, it will send request to API to delete the selected item. Server will check if the requested result file name exist and delete them from file system if its exist, otherwise it will return 404 Not found.
2021-03-15trunks: a module for testing HTTP servicesShulhan
Trunks is a library and HTTP service that provide web user interface to test HTTP service, similar to Postman, and for load testing. For the load testing we use vegeta [1] as the backend. [1] https://github.com/tsenart/vegeta