首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏DevOps持续集成

    OpenShift修改subdomain域名记录

    修改方式 修改的方式有两种: 在master节点修改/etc/origin/master/master-config.yaml文件: routingConfig: subdomain: apps.test.ocp6 .com 修改deploy节点上的/etc/ansible/hosts文件: openshift_master_default_subdomain=apps.test.ocp6.com 第一种修改方式: master-config.yaml文件,如果是多个master节点的情况下,每个master节点修需要修改,由原来的apps.test.ocp6.com,修改为apps.test.ocp7.com routingConfig: subdomain openshift_master_default_subdomain=apps.test.ocp6.com 使用第二种方式进行修改会导致htpasswd的信息被清空,记得备份,等部署结束后再复制到原路径

    5.3K30发布于 2019-10-18
  • 来自专栏ThoughtWorks

    Subdomain遇见Bounded Context | 洞见

    建模过程中很多同学其实是忽略Subdomain的,反正目标是Bounded Context。 当问题相对简单时,Subdomain的划分确实给人感觉是自寻烦恼,划出Bounded Context后反过来推Subdomain视乎更容易上手。 我们拿到的都是既定问题了,再识别Subdomain也没啥意义了。 Subdomain和Bounded Context的对应关系? 探讨了Subdomain的必要性,自然我们需要分析和解决方案这边Bounded Context分解的关系。 Bounded Context建立一定是针对Subdomain的;而Subdomain的划分又会通过Bounded Context的模型得到持续地验证。

    49311发布于 2018-07-23
  • 来自专栏chenjx85的技术专栏

    leetcode-811-Subdomain Visit Count

    the same format as the input, and in any order), that explicitly counts the number of visits to each subdomain As discussed above, the subdomain "leetcode.com" and "com" will also be visited.

    953110发布于 2018-05-21
  • 来自专栏SnailTyan

    Subdomain Visit Count

    in stat: stat[domain] += count else: stat[domain] = count subdomain ', 1) if len(subdomain) > 1: self.subdomainStat(stat, subdomain[1], count) Version stat[domain] += count else: stat[domain] = count subdomain ', 1) if len(subdomain) == 1: break else: domain = subdomain[1] result = [] for key, value in stat.items(): string

    33020发布于 2021-03-02
  • 来自专栏黑伞安全

    Subdomain Takeover 子域名接管漏洞

    该子域的格式为SUBDOMAIN.cloudfront.net。SUBDOMAIN部件是由CloudFront制作的,不能由用户指定。 扫描是使用自定义的自动化工具执行的,作者不打算发布这个工具 但是我来发 https://github.com/Echocipher/Subdomain-Takeover 来自五五开的子域名接管工具

    5.3K20发布于 2021-03-16
  • 来自专栏全栈工程师修炼之路

    Subdomain-Takeover子域名接管原理和利用案例

    install.sh | sh (3)创建一个简单页面 cd ~ mkdir herokudeploy cd herokudeploy echo "{}" > composer.json echo "Subdomain https://hackerone.com/reports/202767 UserVoice Yes This UserVoice subdomain is currently available! 在绑定第三方域名解析记录的时候,需要了解其业务解析流程并进行CNAME安全配置,如果不使用第三方页面托管服务将需要取消其解析记录; 0x05 来源参考 https://devi1ex.com/2018/12/14/subdomain-takeover github.com/EdOverflow/can-i-take-over-xyz https://exploit.linuxsec.org/ https://dzone.com/articles/what-are-subdomain-takeovers-how-to-test-and-avoid https://0xpatrik.com/subdomain-takeover-ns/

    8.2K10发布于 2020-10-23
  • 来自专栏charlieroro

    区分DDD中的Domain, Subdomain, Bounded Context, ProblemSolution Space

    区分DDD中的Domain, Subdomain, Bounded Context, Problem/Solution Space 译自: Domain, Subdomain, Bounded Context 每个人对域(Domain), 子域(Subdomain), 问题空间(Problem Space)和解决空间(Solution space)都有不同的理解。本文将会对这些概念进行澄清。 这个问题比较简单,子域并不是字典中的一个单词(domain存在于字典中,但subdomain不存在...)。子域在web世界中占有重要的位置,但在DDD中意味着什么? Domains are hierarchical and they represent business capabilities Subdomain vs Bounded Context 这是DDD中另一组可能让人混淆的概念

    1.4K20发布于 2021-07-08
  • 来自专栏全栈工程师修炼之路

    Subdomain-Takeover子域名接管原理和利用案例

    install.sh | sh (3)创建一个简单页面 cd ~ mkdir herokudeploy cd herokudeploy echo "{}" > composer.json echo "Subdomain https://hackerone.com/reports/202767 UserVoice Yes This UserVoice subdomain is currently available! 在绑定第三方域名解析记录的时候,需要了解其业务解析流程并进行CNAME安全配置,如果不使用第三方页面托管服务将需要取消其解析记录; ---- 0x05 来源参考 https://devi1ex.com/2018/12/14/subdomain-takeover github.com/EdOverflow/can-i-take-over-xyz https://exploit.linuxsec.org/ https://dzone.com/articles/what-are-subdomain-takeovers-how-to-test-and-avoid https://0xpatrik.com/subdomain-takeover-ns/

    5.5K21编辑于 2022-09-29
  • 来自专栏一朵灼灼华的博客

    【flask】子域名的配置与使用

    /templates', static_url_path='', static_folder=None,subdomain_matching=True) app.config.from_object(' config') app.url_map.default_subdomain='www' app.static_url_path = "/static" app.static_folder = "static ="static") view.py中编辑内容 动态子域名, subdomain="<subdomain>"为动态子域名 注意要添加泛解析 @app.route("/", subdomain="<subdomain >") def dynamic_subdomain_all(subdomain):     return subdomain + " .domain.all" @app.route("/dynamic ", subdomain="<subdomain>") def dynamic_subdomain(subdomain):     return subdomain + " .domain" @app.route

    2.2K20编辑于 2022-08-05
  • 来自专栏铭心の博客

    利用API自动更新腾讯dnspod子域名解析记录实现ddns

    token=xxxxxxxxxx&subDomain=pan ddns.php 代码 <? =$subDomain&value=$Value"; $signStr = urlencode(base64_encode(hash_hmac('sha1',$srcStr,$SecretKey = $_GET['subDomain']; $Type = "A"; $Line = "默认"; $Value = $Ip; getRecordId($subDomain = $Value) { ddns($domain,$recordId,$subDomain,$Type,$Line,$Value,$recordValue); } else { echo "子域名:$subDomain.

    2.4K10编辑于 2024-12-20
  • 来自专栏TechLead

    Azure AI - 沉浸式阅读器,阅读障碍用户福音

    ": "YOUR_SUBDOMAIN" } 安装标识客户端 NuGet 包 以下代码使用 Microsoft.Identity.Client NuGet 包中的对象,因此将需要在项目中添加对该包的引用 ; // Immersive Reader resource subdomain (resource 'Name' if the resource was created in the Azure Check the Azure portal for the subdomain on the Endpoint in the resource Overview page, for example, = configuration["Subdomain"]; if (string.IsNullOrWhiteSpace(TenantId)) { throw new "Subdomain is null!

    60410编辑于 2024-01-29
  • 来自专栏若是烟花

    confd基本使用--Nginx配置自动化

    增加keys值 etcd etcdctl set /myapp/subdomain myapp etcdctl set /myapp/upstream/app2 "10.0.1.100:80" etcdctl set /myapp/upstream/app1 "10.0.1.101:80" etcdctl set /yourapp/subdomain yourapp etcdctl set /yourapp "/yourapp" src = "nginx.tmpl" dest = "/tmp/yourapp.conf" owner = "nginx" mode = "0644" keys = [ "/subdomain "}} { {{range getvs "/upstream/*"}} server {{.}}; {{end}} } server { server_name {{getv "/subdomain :myapp myapp/upstream/app1:10.0.1.100:80 myapp/upstream/app2:10.0.1.101:80 yourapp/subdomain:yourapp

    3.1K30发布于 2020-07-27
  • 来自专栏k8s技术圈

    如何给 Pod 添加 DNS 记录?

    官方文档中有一段 Pod’s hostname and subdomain fields 说明: “Pod 规范中包含一个可选的 hostname 字段,可以用来指定 Pod 的主机名。 Pod 规约还有一个可选的 subdomain 字段,可以用来指定 Pod 的子域名。 ” 现在我们编辑一下 nginx.yaml 加上 subdomain 测试下看看: apiVersion: apps/v1 kind: Deployment metadata: name: nginx 第一步先将 hostname 和 subdomain 注释掉: # individual-pods-example.yaml apiVersion: v1 kind: Service metadata: IN A ;; ANSWER SECTION: busybox-1.default-subdomain.default.svc.cluster.local. 5 IN A 10.44.0.6 ;;

    4.3K20发布于 2020-12-01
  • 来自专栏HACK学习

    漏洞挖掘 | 单点登录的网站通过Referer盗取用户授权

    &CSSStyle=https://static.xxx.AAA.com/sso/subdomain/style/login_t_cover160316.css 然后会跳转到 http://subdomain.AAA.com 刚好bbs.subdomain.AAA.com这个站点允许插入外链图片 ? //bbs.subdomain.AAA.com/thread-942592-1-1.html? ,location的值是通过网站的函数编码过的http://subdomain.AAA.com/ 访问后,授权的数据就会自动附带在链接中如下: ? continue=http://bbs.subdomain.AAA.com/thread-942592-1-1.html?

    2.5K20发布于 2019-12-17
  • 来自专栏世界第一语言是java

    linux、centos7 安装 frp 搭建高性能内网穿透服务

    通过在 frps 的配置文件中配置 subdomain_host,就可以启用该特性。 之后在 frpc 的 http、https 类型的代理中可以不配置 custom_domains,而是配置一个 subdomain 参数。 只需要将 *. {subdomain_host} 解析到 frps 所在服务器。之后用户可以通过 subdomain 自行指定自己的 web 服务所需要使用的二级域名,通过 {subdomain}. {subdomain_host} 来访问自己的 web 服务。 subdomain_host 的子域名或者泛域名。

    7.7K10发布于 2018-12-27
  • 来自专栏用户1337634的专栏

    忽略https域名校验不通过

    忽略方式 一种是添加临时域名解析缓存的方式,保证对外域名可以直接解析到内网IP--resolve subdomain.example.com:443:10.0.0.100; 另外一种是直接关闭域名校验 --insecure # 手工指定域名DNS解析结果,比如把subdomain.example.com:443解析到10.0.0.100:443 curl -v --resolve subdomain.example.com :443:10.0.0.100 https://subdomain.example.com/ # 禁止domain校验 curl -v --insecure https://subdomain.example.com / wget 增加参数--no-check-certificate wget 'https://subdomain.example.com/goods.json' --no-check-certificate

    9.9K50发布于 2021-02-04
  • 来自专栏AI.NET极客圈

    Kubernetes 服务发现

    Kubernetes 的 DNS 服务除了支持 Service 的 DNS 记录外,还支持 Pod 的 A 记录,使用 hostname + subdomain 方式实现。仔细阅读以下部署配置。 name: busybox 我们发现其创建了: name 为 busybox1,hostname 为 busybox-1,subdomain 为 default-subdomain 的 Pod; name 为 busybox2,hostname 为 busybox-2,subdomain 为 default-subdomain 的 Pod; name 为 default-subdomain 的 Headless 产生以下 A 记录: busybox-1.default-subdomain.svc.cluster.local. 4 IN A 192.168.51.119 busybox-2.default-subdomain.svc.cluster.local IN A busybox-2.default-subdomain.svc.cluster.local. 4 IN A 192.168.36.188 default-subdomain.svc.cluster.local

    2.1K20发布于 2019-08-20
  • 来自专栏Laikee Tech Space

    Nginx二级域名自动解析&伪静态&默认首页

    <subdomain>.+).application.pub$; access_log /data/wwwlogs/application.pub_nginx.log combined; index index.html index.htm index.php; root /home/wwwroot/application.pub/$subdomain/; ... } 方法二: server { listen 80; combined; index index.html index.htm index.php; if ($host ~* ^([^\.]+)\.([^\.]+\.[^\.]+)$) { set $subdomain $1; set $domain $2; } location / { root /home/wwwroot/application.pub/$subdomain/; index index.php $subdomain.html index.htm; } ... }

    2.4K30编辑于 2022-04-25
  • 来自专栏FreeBuf

    Afuzz:一款功能强大的自动化Web路径模糊测试工具

    217, "words": 774, "type": "check", "mark": "", "subdomain "words": 11, "type": "folder", "mark": "30x", "subdomain ": 1, "words": 1, "type": "check", "mark": "", "subdomain : 8, "words": 13, "type": "check", "mark": "", "subdomain %EXT% 设置asp和aspx后缀将生成下列字典: index index.asp index.aspx 主机: %subdomain%.

    51510编辑于 2024-01-04
  • 来自专栏Kevin

    通过url获取域名和协议,一级域名,二级域名 python

    tldextract url = 'http://m.windowscentral.com' # 一级域名 domain = tldextract.extract(url).domain # 二级域名 subdomain = tldextract.extract(url).subdomain # 后缀 suffix = tldextract.extract(url).suffix print("获取到的一级域名:{}" .format(domain)) print("获取到二级域名:{}".format(subdomain)) print("获取到的url后缀:{}".format(suffix)) ? domain 一级域名 subdomain 二级域名 suffix 后缀 比如com,cn,net

    5.2K10发布于 2021-03-11
领券