Skip to content

Instantly share code, notes, and snippets.

@rdeavila
Created July 13, 2023 01:39
Show Gist options
  • Save rdeavila/d56ede74303c06d5651938d0fecf5f17 to your computer and use it in GitHub Desktop.
Save rdeavila/d56ede74303c06d5651938d0fecf5f17 to your computer and use it in GitHub Desktop.
Monitoramento nível do ro caí
curl 'http://sace.cprm.gov.br/cai/dwr/call/plaincall/RelatorioService.gerarRelatorioVerDados.dwr' \
-H 'Accept: */*' \
-H 'Accept-Language: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7' \
-H 'Connection: keep-alive' \
-H 'Content-Type: text/plain' \
-H 'Cookie: JSESSIONID=11gkb76odm27z; _ga=GA1.3.533490.1655485445' \
-H 'Origin: http://sace.cprm.gov.br' \
-H 'Referer: http://sace.cprm.gov.br/cai/' \
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36' \
--data-raw $'callCount=1\nwindowName=\nc0-scriptName=RelatorioService\nc0-methodName=gerarRelatorioVerDados\nc0-id=0\nc0-param0=string:tableRelatorio\nc0-param1=number:24\nc0-param2=number:92\nbatchId=9\npage=%2Fcai%2F\nhttpSessionId=11gkb76odm27z\nscriptSessionId=85279F8CEBB65831D7A7CAC7793AF7E1\n' \
--compressed \
--insecure
curl 'http://sace.cprm.gov.br/cai/dwr/call/plaincall/RelatorioService.gerarRelatorioVerDados.dwr' \
-H 'Content-Type: text/plain' \
--data-raw $'callCount=1\nwindowName=\nc0-scriptName=RelatorioService\nc0-methodName=gerarRelatorioVerDados\nc0-id=0\nc0-param0=string:tableRelatorio\nc0-param1=number:24\nc0-param2=number:92\nbatchId=9\npage=%2Fcai%2F\nhttpSessionId=11gkb76odm27z\nscriptSessionId=85279F8CEBB65831D7A7CAC7793AF7E1\n' \
--compressed \
--insecure
curl 'http://sace.cprm.gov.br/cai/dwr/call/plaincall/RelatorioService.gerarRelatorioVerDados.dwr' \
--data-raw $'callCount=1\nwindowName=\nc0-scriptName=RelatorioService\nc0-methodName=gerarRelatorioVerDados\nc0-id=0\nc0-param0=string:tableRelatorio\nc0-param1=number:24\nc0-param2=number:92\nbatchId=9\npage=%2Fcai%2F\nhttpSessionId=11gkb76odm27z\nscriptSessionId=85279F8CEBB65831D7A7CAC7793AF7E1\n'
curl -s 'http://sace.cprm.gov.br/cai/dwr/call/plaincall/RelatorioService.gerarRelatorioVerDados.dwr' --data-raw $'callCount=1\nwindowName=\nc0-scriptName=RelatorioService\nc0-methodName=gerarRelatorioVerDados\nc0-id=0\nc0-param0=string:tableRelatorio\nc0-param1=number:24\nc0-param2=number:92\nbatchId=9\npage=%2Fcai%2F\nhttpSessionId=11gkb76odm27z\nscriptSessionId=85279F8CEBB65831D7A7CAC7793AF7E1\n' | html2text | grep '| '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment