Using adb, create a backup of the app using the following command:
adb backup -f freeotp-backup.ab -apk org.fedorahosted.freeotp| # Cyber attack maps: | |
| #################### | |
| Akamai https://www.akamai.com/us/en/solutions/intelligent-platform/visualizing-akamai/real-time-web-monitor.jsp | |
| Arbor Networks https://www.digitalattackmap.com | |
| Bitdefender https://threatmap.bitdefender.com | |
| BlueLiv https://community.blueliv.com/map | |
| Cisco Talos https://www.talosintelligence.com | |
| Checkpoint https://threatmap.checkpoint.com | |
| Deutsche Telekom https://sicherheitstacho.eu/start/main |
| #!/bin/bash | |
| # Lets say we have all resources under state /A using module A | |
| # We decide to wrap all the resources of the module into a inner module B | |
| # So now all resources that were orignally top level in A are now top level in B | |
| # Normally if we try to plan our changes, terraform will want to delete all resources originally under A and create new ones under B | |
| # However, we may not want that (what if our resources are vpc level resources that we cant afford to delete) | |
| # Terraform provides a state move command | |
| # We can list all the resources in a module via `terraform state list` | |
| # We can pipe this list to xargs and for each resource we can move it to the new prefix, ie. under inner module B. |
| --- | |
| - hosts: localhost | |
| vars: | |
| - dnsname: your.dns.name | |
| - tmppath: "./tmp/" | |
| - crtpath: "{{ tmppath }}{{ dnsname }}.crt" | |
| - pempath: "{{ tmppath }}{{ dnsname }}.pem" | |
| - csrpath: "{{ tmppath }}{{ dnsname }}.csr" | |
| - pfxpath: "{{ tmppath }}{{ dnsname }}.pfx" | |
| - private_key_password: "password" |
| # | |
| # Instructions for quick gluster server (1 node) setup with a volume on LVM. | |
| # No replication, just using localhost. | |
| # | |
| # See https://docs.gluster.org/en/latest/Administrator%20Guide/Brick%20Naming%20Conventions/ | |
| # | |
| # Install GlusterFS | |
| add-apt-repository ppa:gluster/glusterfs-4.0 | |
| apt-get install glusterfs-server |
| #======================================== | |
| # create public and private keys | |
| #======================================== | |
| from Crypto.PublicKey import RSA | |
| key = RSA.generate(2048) | |
| private_key = key.exportKey() | |
| with open("./private.pem", "wb") as f: |
| #!/usr/bin/env python | |
| import dns.resolver | |
| main_domain = "mail-out.ovh.net." | |
| cur_mailout=1 | |
| while True: | |
| try: | |
| mail_out_answer = dns.resolver.query('mo' + str(cur_mailout) + '.' + main_domain,'A') | |
| except dns.resolver.NXDOMAIN: |
| workspace: | |
| base: /build | |
| pipeline: | |
| build-image: | |
| image: docker | |
| commands: | |
| # Build development target, which includes xdebug. | |
| # Tag with both api-build:<build_number> and api-build:latest. |
Using adb, create a backup of the app using the following command:
adb backup -f freeotp-backup.ab -apk org.fedorahosted.freeotp| # Configuration to parse Apache logs with parameters : | |
| # LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %T %D \"%{Referer}i\" \"%{User-Agent}i\"" | |
| input { | |
| tcp { | |
| port => 5000 | |
| type => "apache-access" | |
| } | |
| udp { |
| # Fail2Ban filter for SoftEther authentication failures | |
| # Made by quixrick and jonisc | |
| # Thanks to quixrick from Reddit! https://reddit.com/u/quixrick | |
| # Further reference: http://www.vpnusers.com/viewtopic.php?f=7&t=6375&sid=76707e8a5a16b0c9486a39ba34763901&view=print | |
| [INCLUDES] | |
| # Read common prefixes. If any customizations available -- read them from | |
| # common.local | |
| before = common.conf |