board_posting_duo 0.0.3 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/board_posting_duo.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23fa2c9cf527861727a496311637b2d41cc05451d80cf7cbe0bb1e7d9cb907cd
|
4
|
+
data.tar.gz: b9b89babce2beb020dc1ccf29441e2ac7cec13483e1d79777a36892e7c4b873c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65a85158bc0107f115ae6c80a24f872240007b0ba99ccd6e9cf355d43b44625dc4c378e83f8b3c75ccf611e901f74ebeb578a8375e2e9c6ab7fdd857efe13228
|
7
|
+
data.tar.gz: 93b230e9a430dce70f02f68c2da3a4fd8e465ea01ace8da228b0fb5015a684983765c4246daf2d5b15a05b9b2661ba3a8ce2f5d1cbcfa1688814b8a9fcfc5e18
|
data/lib/board_posting_duo.rb
CHANGED
@@ -5784,7 +5784,7 @@ class Wordpress
|
|
5784
5784
|
c = noko.xpath('//*[@id="at-main"]/div/table/tbody').to_s.split('<tr>').length-1
|
5785
5785
|
for n in 1..c
|
5786
5786
|
tt = noko.xpath('//*[@id="at-main"]/div/table/tbody/tr['+n.to_s+']').to_s
|
5787
|
-
if tt.include?(user_id.to_s) and tt.include?('
|
5787
|
+
if tt.include?(user_id.to_s) and tt.include?('그누보드 게시판 자동 글 등록기')
|
5788
5788
|
if noko.xpath('//*[@id="at-main"]/div/table/tbody/tr['+n.to_s+']/td[7]/label[1]/input').to_s.include?('checked')
|
5789
5789
|
if mac_check(user_id) == 1
|
5790
5790
|
return 1
|
@@ -5812,7 +5812,7 @@ class Wordpress
|
|
5812
5812
|
cookie[i.to_s.split('=')[0]] = i.to_s.split('=')[1]
|
5813
5813
|
end
|
5814
5814
|
|
5815
|
-
http = HTTP.cookies(cookie).get('http://marketingduo.co.kr/bbs/board.php?bo_table=product&sca=&sfl=wr_subject&sop=and&stx='+userid+'
|
5815
|
+
http = HTTP.cookies(cookie).get('http://marketingduo.co.kr/bbs/board.php?bo_table=product&sca=&sfl=wr_subject&sop=and&stx='+userid+'--그누보드 게시판 자동 글 등록기')
|
5816
5816
|
noko = Nokogiri::HTML(http.to_s)
|
5817
5817
|
mac_history = Array.new
|
5818
5818
|
mac_url = Array.new
|
@@ -5858,7 +5858,7 @@ class Wordpress
|
|
5858
5858
|
year2 = Time.now.to_s.split(' ')[1].split(':').join('')
|
5859
5859
|
uid = year+year2
|
5860
5860
|
puts uid
|
5861
|
-
json = {'token' => token, 'uid' => uid, 'bo_table' => 'product', 'wr_id' => '0', 'wr_subject' => userid+'
|
5861
|
+
json = {'token' => token, 'uid' => uid, 'bo_table' => 'product', 'wr_id' => '0', 'wr_subject' => userid+'--그누보드 게시판 자동 글 등록기', 'wr_content' => mac_address}
|
5862
5862
|
http = HTTP.cookies(cookie).post('http://marketingduo.co.kr/bbs/write_update.php', :form => json)
|
5863
5863
|
return 1
|
5864
5864
|
end
|
@@ -6997,7 +6997,7 @@ class Wordpress
|
|
6997
6997
|
@data['포스트설정']['막글'] = ''
|
6998
6998
|
@data['포스트설정']['프록시리스트'] = Array.new
|
6999
6999
|
|
7000
|
-
@user_login_ok =
|
7000
|
+
@user_login_ok = 1
|
7001
7001
|
window('커뮤니티(게시판) 자동 포스팅 프로그램', 800, 620) {
|
7002
7002
|
margined true
|
7003
7003
|
|