for (plugin in ["ant", | |
"artifactdeployer", | |
"build-failure-analyzer", | |
"build-name-setter", | |
"build-pipeline-plugin", | |
"build-timeout", | |
"claim", | |
"clone-workspace-scm", | |
"cobertura", | |
"collapsing-console-sections", |
""" | |
License | |
======= | |
Do whatever you like. | |
Usage | |
===== | |
1. put it in your project |
jenkins.model.Jenkins.getInstance().getUpdateCenter().getSites().each { site -> | |
site.updateDirectlyNow(hudson.model.DownloadService.signatureCheck) | |
} | |
hudson.model.DownloadService.Downloadable.all().each { downloadable -> | |
downloadable.updateNow(); | |
} | |
def plugins = jenkins.model.Jenkins.instance.pluginManager.activePlugins.findAll { | |
it -> it.hasUpdate() |
# All scripts | |
``` | |
--tamper=apostrophemask,apostrophenullencode,appendnullbyte,base64encode,between,bluecoat,chardoubleencode,charencode,charunicodeencode,concat2concatws,equaltolike,greatest,halfversionedmorekeywords,ifnull2ifisnull,modsecurityversioned,modsecurityzeroversioned,multiplespaces,nonrecursivereplacement,percentage,randomcase,randomcomments,securesphere,space2comment,space2dash,space2hash,space2morehash,space2mssqlblank,space2mssqlhash,space2mysqlblank,space2mysqldash,space2plus,space2randomblank,sp_password,unionalltounion,unmagicquotes,versionedkeywords,versionedmorekeywords | |
``` | |
# General scripts | |
``` | |
--tamper=apostrophemask,apostrophenullencode,base64encode,between,chardoubleencode,charencode,charunicodeencode,equaltolike,greatest,ifnull2ifisnull,multiplespaces,nonrecursivereplacement,percentage,randomcase,securesphere,space2comment,space2plus,space2randomblank,unionalltounion,unmagicquotes | |
``` | |
# Microsoft access | |
``` |
DECLARE | |
h1 NUMBER; | |
BEGIN | |
h1:=DBMS_DATAPUMP.ATTACH('C1','OICEXPIMPUSER'); | |
DBMS_DATAPUMP.STOP_JOB (h1,1,0); | |
END; | |
/ |
#!/bin/bash | |
# Tested on 19.3.xx.xx.xxxx.x | |
set startIndex=533 | |
set endInex=2404 | |
set baseURI="https://production-hangme.uscom-central-1.oraclecloud.com" | |
curl "$baseURI/ic/home/token" -H 'Accept: test/html' -H 'Referer: https://productionic-lathamoic.uscom-central-1.oraclecloud.com/ic/home/' -H 'DNT: 1' -H 'Sec-Fetch-Mode: cors' --compressed -L -fields=script -o .jwt.htm 2>&1 | cat .jwt.htm | cut -c 533-2404 |
If you are using Oracle Cloud you should be using the PSM for all of your Object Storage Container ( OSS ) and DBaaS Instance for all your backup needs. You should submit a support request before troubleshooting any of these issues, especially if you don't have a dev instance. The absolute path's I use in here are based off how a PSM provisioned instance of Oacle Cloud's DBaaS 12.2 Single Instance installed on Oracle Linux.
The bkup_api
is located in the /var/opt/oracle/bkup_api
directory. If you intend to learn this utility on a development VM I suggest the first command you run is sudo -s
. You will need to be root for the entirety of this post. You can run an ls -ltra
to see the directory structure, but the only pertinent files/directories
- drwxr-x---. 2 root root 4096 Mar 26 2019 log
- -r-xr-xr-x. 1 oracle oinstall 1148 Oct 3 21:45 README
@%~d0 | |
@cd "%~dp0" | |
@set /p svc=<"%~dp0ServiceName.txt" | |
powershell.exe -ExecutionPolicy RemoteSigned -NoLogo -NonInteractive -NoProfile -file "%~dp0%svc%.ps1" | |
@echo Done |