This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from bs4 import BeautifulSoup | |
import smtplib | |
import time | |
import sys | |
# enable secure login in gmail using url https://www.google.com/settings/security/lesssecureapps | |
#### add expected price | |
expected_price = 5000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ipa-replica-install --setup-ca --setup-dns --mkhomedir --no-ntp --auto-reverse | |
ipa-replica-install --setup-ca --setup-dns --mkhomedir --no-ntp --auto-reverse --no-forwarders |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020-06-24T16:41:57 [I|app|896c85e1] Started POST "/hosts" for 10.x.x.x at 2020-06-24 16:41:57 +0000 | |
2020-06-24T16:41:57 [I|app|896c85e1] Processing by HostsController#create as */* | |
2020-06-24T16:41:57 [I|app|896c85e1] Parameters: {"utf8"=>"✓", "authenticity_token"=>"NtDzbGZDLHLqxcsRiGKFQqrK3pE8Hl+hv84ihPnp0+9qpdGyKlAL9V69XW3MY7h/LmFuMOtbWV8zNgBPzMyvxA==", "host"=>{"name"=>"adam-ranildi", "organization_id"=>"8", "location_id"=>"2", "hostgroup_id"=>"1", "content_facet_attributes"=>{"lifecycle_environment_id"=>"4", "content_view_id"=>"4", "content_source_id"=>"1"}, "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "type"=>"Nic::Managed", "mac"=>"", "identifier"=>"", "name"=>"adam-ranildi", "domain_id"=>"2", "subnet_id"=>"1", "ip"=>"10.x.x.x", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>"", "compute_attributes"=>{"type"=>"VirtualE1000", "network"=>"n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
srand (time()); | |
my $randletter = "(int (rand (26)) + (int (rand (1) + .5) % 2 ? 65 : 97))"; | |
my $salt = sprintf ("%c%c", eval $randletter, eval $randletter); | |
my $plaintext = shift; | |
my $crypttext = crypt ($plaintext, $salt); | |
print "${crypttext}\n"; |