Skip to content

Commit

Permalink
Replace tabs by spaces in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
qtc-de committed Sep 8, 2023
1 parent ccbfb3c commit f27f2ae
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,34 +62,34 @@ import qtc_de.rpv
fn main()
{
infos := rpv.get_rpv_process_infos() or { panic(err) }
for info in infos
{
if info.rpc_info.rpc_type in [.no_rpc, .wrong_arch]
{
continue
}
println('[+]')
println('[+] Process Name: ${info.name}')
println('[+] PID : ${info.pid}')
println('[+] User : ${info.user}')
println('[+] Path : ${info.path}')
println('[+] RPC Endpoints:')
for endpoint in info.rpc_info.server_info.endpoints
{
println('[+]\t ${endpoint.protocol} - ${endpoint.name}')
}
println('[+] RPC Interfaces:')
for intf in info.rpc_info.interface_infos
{
infos := rpv.get_rpv_process_infos() or { panic(err) }
for info in infos
{
if info.rpc_info.rpc_type in [.no_rpc, .wrong_arch]
{
continue
}
println('[+]')
println('[+] Process Name: ${info.name}')
println('[+] PID : ${info.pid}')
println('[+] User : ${info.user}')
println('[+] Path : ${info.path}')
println('[+] RPC Endpoints:')
for endpoint in info.rpc_info.server_info.endpoints
{
println('[+]\t ${endpoint.protocol} - ${endpoint.name}')
}
println('[+] RPC Interfaces:')
for intf in info.rpc_info.interface_infos
{
println('[+]\t ${intf.id} (${intf.methods.len} methods)')
}
}
}
}
}
```

Expand Down

0 comments on commit f27f2ae

Please sign in to comment.