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

WIP: RRI V5 Support #16

Merged
merged 33 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
a43d15a
Updating RRI Version to 5.0 and adding verification information and p…
Nov 11, 2024
9625995
Adding address_database to verification evidence
Nov 25, 2024
730b577
Merge pull request #15 from git-flexi/master
Nerzal Nov 25, 2024
6a69356
refactore
Nov 25, 2024
57ca4d4
Merge remote-tracking branch 'origin/rri-v5' into rri-v5
Nov 25, 2024
a5c1f3c
fix field alignment
Nov 25, 2024
d459559
replace interface{} with any
Nov 25, 2024
f5f9b16
fix linter errors
Nov 25, 2024
1dedcc3
fix linter errors
Nov 25, 2024
da6ff43
move test files to _test package
Nov 25, 2024
546bc50
Merge branch 'master' into rri-v5
Nerzal Nov 25, 2024
43ee508
rename functions
Nov 25, 2024
262fa04
move query_test to _test package
Nov 25, 2024
543fd77
Implement parsing of VerificationInformation from file
Nov 26, 2024
3d9a986
use os instead of deprecated ioutil package
Nov 26, 2024
9c3403a
censor passwords in xml
Nov 26, 2024
19f806c
extract functions and packages
Nov 29, 2024
e2ff5dd
refactore trimming of suffix
Nov 29, 2024
89ef12c
basic xml file implementation
Dec 2, 2024
e5a5945
extract functions
Dec 2, 2024
1ce66c5
add first example requests
Dec 2, 2024
e0e1aba
preset listing added
Artur069 Dec 2, 2024
697eb16
add presets
Dec 2, 2024
7c3c47e
preset execution added
Artur069 Dec 2, 2024
85e1ca0
add examples
Dec 3, 2024
be9a030
fix contact info example
Dec 3, 2024
1a23548
cli Führung angepasst
Artur069 Dec 3, 2024
3c2bea8
extracted functions
Dec 3, 2024
6c4fe33
direct load of preset by name
Dec 3, 2024
74bef12
preset autocompletion
Dec 3, 2024
9dbda5b
highlight service implemented
Artur069 Dec 4, 2024
7328dab
fix coloring
Dec 4, 2024
1ed41e7
update readme
Dec 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ cover.out
# editors and local settings
.vscode
.idea
queries
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,9 @@ unit-test:

run:
@go run . --insecure

install-vulncheck:
go install golang.org/x/vuln/cmd/govulncheck@latest

run-vulncheck:
govulncheck ./...
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ go-rriclient
| `--user {username}` | `-u` | RRI username to log in. |
| `--pass {password}` | `-p` | RRI password to log in. |
| `--file {file}` | `-f` | File containing RRI queries to process. |
| `--preset` | `-P` | Enter preset mode |
| `--env {alias name}` | `-e` | Name of the environment to create or use. |
| `--delete-env {alias name}` | | Delete an existing environment. |
| `--list-env` | | Display a list of all environments. |
Expand All @@ -93,6 +94,9 @@ go-rriclient

## RRI Commands

Note: These commands are deprecated and will be removed in a future version.
Please use the preset command instead.

You can use the following commands in file mode and interactive mode:

| Command and Parameter | Description |
Expand All @@ -117,9 +121,15 @@ You can use the following commands in file mode and interactive mode:
| `raw` | Enter a raw query and send to RRI. |
| `raw {command}` | Send a command like `version: 3.0\naction: queue-read` |
| `file {path}` | Process a query file as accepted by flag `--file`. |
| `xml` | Toggle XML mode. **NOT implemented yet** |
| `preset {path}` | Preview, edit and send a query file. |
| `verbose` | Toggle verbose mode. |

## Preset Mode

The Preset Mode allows you to chose from predefined request templates to edit and fire the query.
Preset mode supports tab completion.


## RRI Request Examples

**Create Domain/Update Domain**
Expand Down
Loading
Loading