Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of the active machine for submit #20

Closed
qu35t-code opened this issue Sep 15, 2023 · 1 comment
Closed

Use of the active machine for submit #20

qu35t-code opened this issue Sep 15, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@qu35t-code
Copy link
Member

Add a system that allows you not to specify the machine name and that uses the current machine.

submit.go

@qu35t-code qu35t-code added the enhancement New feature or request label Sep 15, 2023
@qu35t-code qu35t-code added this to the v1.2.0 milestone Sep 15, 2023
@qu35t-code qu35t-code self-assigned this Sep 15, 2023
@qu35t-code qu35t-code moved this to Todo in htb-cli Sep 15, 2023
@qu35t-code qu35t-code moved this from Todo to In Progress in htb-cli Sep 20, 2023
@qu35t-code qu35t-code linked a pull request Oct 3, 2023 that will close this issue
@qu35t-code qu35t-code modified the milestones: v1.2.0, v1.3.0 Oct 3, 2023
@qu35t-code qu35t-code removed a link to a pull request Oct 3, 2023
@qu35t-code qu35t-code moved this from In Progress to Todo in htb-cli Oct 3, 2023
@qu35t-code qu35t-code moved this from Todo to In Progress in htb-cli Oct 3, 2023
@qu35t-code
Copy link
Member Author

❯ go run . start -m Visual
? The following machine was found : Visual Yes
You have been assigned as an owner of this machine. Playing on a VIP server
❯ go run . submit -f test -d 3 -v
⠋2023/10/05 21:43:05 HTTP request URL : https://www.hackthebox.com/api/v4/machine/active
2023/10/05 21:43:05 HTTP request method : GET
2023/10/05 21:43:05 HTTP request body : {}
2023/10/05 21:43:06 HTTP request URL : https://www.hackthebox.com/api/v4/machine/recommended/
2023/10/05 21:43:06 HTTP request method : GET
2023/10/05 21:43:06 HTTP request body : {}
2023/10/05 21:43:06 Machine Type: release
2023/10/05 21:43:06 Flag : test
2023/10/05 21:43:06 Difficulty : 30
2023/10/05 21:43:06 HTTP request URL : https://www.hackthebox.com/api/v4/arena/own
2023/10/05 21:43:06 HTTP request method : POST
2023/10/05 21:43:06 HTTP request body : {{"difficulty":"30","flag":"test","id":"568"}}
Incorrect Flag.

@github-project-automation github-project-automation bot moved this from In Progress to Beta testing in htb-cli Oct 5, 2023
@qu35t-code qu35t-code moved this from Beta testing to Done in htb-cli Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

1 participant