Вверх ↑
Этот топик читают: Гость
Ответов: 287
Рейтинг: 5
#16: 2022-05-29 23:50:13 ЛС | профиль | цитата
А че тут непонятного .Есть файл В нем есть строка вида const-string v3, "https://pagead2.googlesyndication.com/pagead/gen_204?id=gmob-apps".Нужно найти "https://pagead2.googlesyndication.com/pagead/gen_204?id=gmob-apps" и заменить на "http".
Для поиск ключевое слово googlesyndication из списка.
Сохранить измененный файл.

Add(MainForm,16417060,336,189)
{
Width=566
Height=639
}
Add(Button,612857,630,252)
{
Left=35
Top=45
link(onClick,10891095:doEvent1,[])
}
Add(Memo,4901527,756,266)
{
Left=40
Top=110
Width=470
Height=455
FileName="1.txt"
ScrollBars=3
Point(doLoad)
Point(doSave)
link(Str,5839119:Result,[])
}
Add(RE_Replace,5839119,756,217)
{
Expression=""http.*://.*(googlesyndication).*""
ReplaceStr=""http""
link(onReplace,4901527:doText,[(800,223)(800,258)(744,258)(744,293)])
link(SourceStr,12827230:Text,[])
}
Add(StrList,12827230,756,168)
{
Strings=#35:.class public final Lc/d/b/a/a/t/b;|25:.super Ljava/lang/Thread;|10:.source ""|0:|0:|17:# instance fields|47:.field public final synthetic c:Ljava/util/Map;|0:|0:|16:# direct methods|51:.method public constructor <init>(Ljava/util/Map;)V|13: .locals 0|0:|58: iput-object p1, p0, Lc/d/b/a/a/t/b;->c:Ljava/util/Map;|0:|53: invoke-direct {p0}, Ljava/lang/Thread;-><init>()V|0:|15: return-void|11:.end method|0:|0:|17:# virtual methods|27:.method public final run()V|13: .locals 7|0:|25: const-string v0, ". "|0:|36: const-string v1, "HttpUrlPinger"|0:|58: iget-object v2, p0, Lc/d/b/a/a/t/b;->c:Ljava/util/Map;|0:|88: const-string v3, "https://pagead2.googlesyndication.com/pagead/gen_204?id=gmob-apps"|0:|85: invoke-static {v3}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;|0:|25: move-result-object v3|0:|80: invoke-virtual {v3}, Landroid/net/Uri;->buildUpon()Landroid/net/Uri$Builder;|0:|25: move-result-object v3|0:|67: invoke-interface {v2}, Ljava/util/Map;->keySet()Ljava/util/Set;|0:|25: move-result-object v4|0:|74: invoke-interface {v4}, Ljava/util/Set;->iterator()Ljava/util/Iterator;|0:|25: move-result-object v4|0:|11: :goto_0|59: invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z|0:|18: move-result v5|0:|22: if-eqz v5, :cond_0|0:|73: invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;|0:|25: move-result-object v5|0:|37: check-cast v5, Ljava/lang/String;|0:|89: invoke-interface {v2, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;|0:|25: move-result-object v6|0:|37: check-cast v6, Ljava/lang/String;|0:|143: invoke-virtual {v3, v5, v6}, Landroid/net/Uri$Builder;->appendQueryParameter(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder;|0:|16: goto :goto_0|0:|11: :cond_0|76: invoke-virtual {v3}, Landroid/net/Uri$Builder;->build()Landroid/net/Uri;|0:|25: move-result-object v2|0:|72: invoke-virtual {v2}, Landroid/net/Uri;->toString()Ljava/lang/String;|0:|25: move-result-object v2|0:|16: :try_start_0|35: new-instance v3, Ljava/net/URL;|0:|71: invoke-direct {v3, v2}, Ljava/net/URL;-><init>(Ljava/lang/String;)V|0:|81: invoke-virtual {v3}, Ljava/net/URL;->openConnection()Ljava/net/URLConnection;|0:|25: move-result-object v3|0:|47: check-cast v3, Ljava/net/HttpURLConnection;|14: :try_end_0|86: .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_2|70: .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1|77: .catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0|0:|16: :try_start_1|73: invoke-virtual {v3}, Ljava/net/HttpURLConnection;->getResponseCode()I|0:|18: move-result v4|0:|21: const/16 v5, 0xc8|0:|25: if-lt v4, v5, :cond_1|0:|22: const/16 v5, 0x12c|0:|25: if-lt v4, v5, :cond_2|0:|11: :cond_1|89: invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;|0:|25: move-result-object v5|0:|54: invoke-virtual {v5}, Ljava/lang/String;->length()I|0:|18: move-result v5|0:|29: add-int/lit8 v5, v5, 0x41|0:|46: new-instance v6, Ljava/lang/StringBuilder;|0:|65: invoke-direct {v6, v5}, Ljava/lang/StringBuilder;-><init>(I)V|0:|58: const-string v5, "Received non-success response code "|0:|107: invoke-virtual {v6, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;|0:|90: invoke-virtual {v6, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;|0:|42: const-string v4, " from pinging URL: "|0:|107: invoke-virtual {v6, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;|0:|107: invoke-virtual {v6, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;|0:|80: invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;|0:|25: move-result-object v4|0:|88: invoke-static {v1, v4}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I|14: :try_end_1|54: .catchall {:try_start_1 .. :try_end_1} :catchall_0|0:|11: :cond_2|16: :try_start_2|68: invoke-virtual {v3}, Ljava/net/HttpURLConnection;->disconnect()V|0:|15: return-void|0:|15: :catchall_0|21: move-exception v4|0:|68: invoke-virtual {v3}, Ljava/net/HttpURLConnection;->disconnect()V|0:|12: throw v4|14: :try_end_2|86: .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_2 .. :try_end_2} :catch_2|70: .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_1|77: .catch Ljava/lang/RuntimeException; {:try_start_2 .. :try_end_2} :catch_0|0:|12: :catch_0|21: move-exception v3|0:|16: goto :goto_1|0:|12: :catch_1|21: move-exception v3|0:|11: :goto_1|78: invoke-virtual {v3}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;|0:|25: move-result-object v4|0:|89: invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;|0:|25: move-result-object v5|0:|54: invoke-virtual {v5}, Ljava/lang/String;->length()I|0:|18: move-result v5|0:|29: add-int/lit8 v5, v5, 0x1b|0:|89: invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;|0:|25: move-result-object v6|0:|54: invoke-virtual {v6}, Ljava/lang/String;->length()I|0:|18: move-result v6|0:|24: add-int/2addr v6, v5|0:|46: new-instance v5, Ljava/lang/StringBuilder;|0:|65: invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(I)V|0:|48: const-string v6, "Error while pinging URL: "|0:|11: :goto_2|107: invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;|0:|107: invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;|0:|107: invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;|0:|107: invoke-virtual {v5, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;|0:|80: invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;|0:|25: move-result-object v0|0:|113: invoke-static {v1, v0, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I|0:|15: return-void|0:|12: :catch_2|21: move-exception v3|0:|94: invoke-virtual {v3}, Ljava/lang/IndexOutOfBoundsException;->getMessage()Ljava/lang/String;|0:|25: move-result-object v4|0:|89: invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;|0:|25: move-result-object v5|0:|54: invoke-virtual {v5}, Ljava/lang/String;->length()I|0:|18: move-result v5|0:|29: add-int/lit8 v5, v5, 0x20|0:|89: invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;|0:|25: move-result-object v6|0:|54: invoke-virtual {v6}, Ljava/lang/String;->length()I|0:|18: move-result v6|0:|24: add-int/2addr v6, v5|0:|46: new-instance v5, Ljava/lang/StringBuilder;|0:|65: invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(I)V|0:|53: const-string v6, "Error while parsing ping URL: "|0:|16: goto :goto_2|11:.end method|
}
Add(Hub,10891095,679,252)
{
OutCount=3
link(onEvent1,4901527:doLoad,[(732,258)(732,300)])
link(onEvent2,5839119:doReplace,[(725,265)(725,223)])
link(onEvent3,4901527:doSave,[(725,272)(725,307)])
}




Редактировалось 3 раз(а), последний 2022-05-30 02:20:03
карма: 0

0
Ответов: 793
Рейтинг: 168
#17: 2022-05-30 06:24:12 ЛС | профиль | цитата
Udokanec, проверь. Правильно ли я тебя понял?
Add(MainForm,4243594,301,196)
{
}
Add(Hub,1904592,406,196)
{
OutCount=3
link(onEvent1,7166975:doEnum,[])
link(onEvent2,6355775:doSave,[(508,209)(508,174)])
}
Add(StrList,14923820,665,147)
{
Strings=#14:61.145.124.238|14:ad.api.kaffnet|10:ad.mail.ru|18:ad.myinstashot.com|11:adc3-launch|8:adbuddiz|8:adcolony|8:addapptr|8:adincube|6:adjust|6:adkmob|11:adknowledge|8:admarvel|5:admob|5:Admob|6:admost|12:adnw_logging|15:adsafeprotected|5:adsdk|6:adsert|8:adserver|9:adservice|11:advertising|6:adview|11:adz.wattpad|7:aerserv|7:airpush|7:altamob|10:alta.eqmob|15:amazon-adsystem|9:amazonaws|9:analytics|10:appAdForce|14:appboyappbrain|7:appenda|5:appia|13:applifier.com|8:applovin|6:applvn|7:appnext|8:appnexus|8:appodeal|7:apprupt|7:apsalar|6:appsdt|9:appsflyer|16:audience_network|9:avocarrot|5:azure|17:boxdigital/sdk/ad|6:branch|10:ca-app-pub|29:certificate.mobile.yandex.net|10:chartboost|10:cloudfront|39:code.google.com/p/android/issues/detail|11:crashlytics|15:csi.gstatic.com|12:dsp.batmobil|6:duapps|11:firebaseapp|6:flurry|5:fyber|27:google/android/gms/internal|36:google.com/safebrowsing/clientreport|25:googleapis.com/auth/games|27:googleads.g.doubleclick.net|17:googlesyndication|14:graph.facebook|10:greystripe|6:heyzap|9:hockeyapp|6:hyprmx|8:InlineAd|6:inmobi|11:inneractive|12:instreamatic|11:integralads|10:ironsource|5:jirbo|7:jumptap|7:kochava|8:Leadbolt|10:localytics|6:loopme|9:madnet.ru|5:mdotm|11:measurement|9:mediabrix|7:metrica|15:millennialmedia|6:mngads|4:moat|7:mobclix|6:mobfox|8:mobvista|7:montexi|6:moolah|5:mopub|13:mp.mydas.mobi|10: my/target|18:NativeInterstitial|11:net.rayjump|18:network_ads_common|6:nexage|15:onelouder/adlib|5:openx|10:pagead/ads|17:plus1.wapstart.ru|8:pubmatic|9:pubnative|15:r.my.com/mobile|6:revmob|20:sb.scorecardresearch|11:smaato/SOMA|8:startapp|25:startup.mobile.yandex.net|13:supersonicads|10:tagmanager|5:tapas|6:tapjoy|21:udm.scorecardresearch|11:unity3d/ads|8:unityads|6:vdopia|6:vungle|9:www.dummy|5:wzrkt|5:xtify|16:yandexadexchange|7:zestadz|0:|
}
Add(Memo,12718057,623,301)
{
Left=30
Top=100
Width=985
Height=465
Align=5
FileName="1.txt"
ScrollBars=3
Point(doSave)
}
Add(Button,15072250,357,196)
{
Left=25
Top=25
Align=2
link(onClick,1904592:doEvent1,[])
}
Add(StrMask,43527,819,196)
{
Point(doMask)
link(onTrue,9026426:doSplit,[])
link(Str,7166975:Item,[(825,187)(870,187)(870,250)(559,250)])
}
Add(ArrayEnum,11747147,679,203)
{
link(onItem,2883028:doEvent1,[])
link(Array,14923820:Array,[])
}
Add(Hub,2883028,728,203)
{
link(onEvent1,15360191:doString,[])
link(onEvent2,43527:doCompare,[(753,216)(753,202)])
}
Add(FormatStr,15360191,763,203)
{
Mask="*%1*"
link(onFString,43527:doMask,[])
}
Add(StrList,6355775,539,119)
{
FileName="1.txt"
Strings=#36:.class public final Lc/d/b/a/e/a/bt;|25:.super Ljava/lang/Object;|10:.source ""|0:|0:|15:# static fields|45:.field public static final a:Lc/d/b/a/e/a/js;|52: .annotation system Ldalvik/annotation/Signature;|17: value = {|31: "Lc/d/b/a/e/a/js‹",|33: "Ljava/lang/String;",|16: "›;"|9: }|19: .end annotation|10:.end field|0:|0:|16:# direct methods|45:.method public static constructor ‹clinit›()V|13: .locals 2|0:|62: const-string v0, "gads:native:engine_js_url_with_protocol"|0:|110: const-string v1, "https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/production/native_ads.js"|0:|101: invoke-static {v0, v1}, Lc/d/b/a/e/a/js;-›a(Ljava/lang/String;Ljava/lang/String;)Lc/d/b/a/e/a/js;|0:|45: const-string v0, "gads:sdk_core_location"|0:|110: const-string v1, "https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html"|0:|101: invoke-static {v0, v1}, Lc/d/b/a/e/a/js;-›a(Ljava/lang/String;Ljava/lang/String;)Lc/d/b/a/e/a/js;|0:|25: move-result-object v0|0:|56: sput-object v0, Lc/d/b/a/e/a/bt;-›a:Lc/d/b/a/e/a/js;|0:|48: const-string v0, "gads:sdk_core_js_location"|0:|117: const-string v1, "https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/production/sdk-core-v40-impl.js"|0:|101: invoke-static {v0, v1}, Lc/d/b/a/e/a/js;-›a(Ljava/lang/String;Ljava/lang/String;)Lc/d/b/a/e/a/js;|0:|15: return-void|11:.end method|
Point(doGetString)
Point(onGetString)
Point(doReplace)
Point(doLoad)
Point(doSave)
link(Str,7532469:Result,[(545,110)(881,110)(881,257)(944,257)])
}
Add(ArrayEnum,7166975,553,196)
{
link(onItem,9709378:doCompare,[])
link(onEndEnum,7251279:doData,[(592,209)(592,258)(529,258)(529,328)])
link(Array,6355775:Array,[])
}
Add(StrMask,9709378,623,196)
{
Mask=" const-string*"
link(onTrue,11747147:doEnum,[])
}
Add(StrPart,9026426,889,203)
{
Char=", "
Point(Left)
link(onPart,7532469:doStrCatDlm,[])
}
Add(DoData,7251279,539,322)
{
link(onEventData,12718057:doText,[])
link(Data,6355775:Text,[])
}
Add(StrCatDelim,7532469,938,210)
{
Delimiter=", "
Str2=""http://""
link(onStrCatDlm,2122395:doData,[(1004,216)(1004,94)(452,94)(452,160)])
}
Add(DoData,2122395,462,154)
{
link(onEventData,6355775:doReplace,[])
link(Data,7166975:Index,[(468,145)(503,145)(503,236)(566,236)])
}


Редактировалось 2 раз(а), последний 2022-05-30 06:44:13
карма: 16

0
Ответов: 287
Рейтинг: 5
#18: 2022-05-30 06:44:20 ЛС | профиль | цитата
Да все работает спасибо.Но я уже сделал по другому

Add(Button,1032059,126,203)
{
Left=290
Top=5
Width=100
Caption="Папка"
link(onClick,1584642:doBrowse,[])
}
Add(Button,1454278,266,203)
{
Left=290
Top=30
Width=100
Enabled=1
Caption="Заменить"
Point(doEnabled)
link(onClick,10891095:doEvent1,[])
}
Add(Hub,10891095,343,203)
{
OutCount=3
link(onEvent1,9717498:doSearch,[])
}
Add(Label,15810939,210,98)
{
Left=5
Top=10
Width=49
Height=17
Caption="Каталог:"
}
Add(Edit,8494145,217,203)
{
Left=60
Top=10
Width=195
Text=""
link(onChange,1454278:doEnabled,[])
}
Add(Browse,1584642,175,203)
{
Title="Select Folder"
NewDirButton=1
link(onBrowse,8494145:doText,[])
}
Add(FileSearch,9717498,378,203)
{
Ext="*.smali"
TimeType=1
link(onSearch,2039579:doValue,[])
link(onEndSearch,14888828:doMessage,[(422,216)(422,254)(394,254)(394,293)])
link(Dir,8494145:Text,[(391,187)(335,187)(335,243)(223,243)])
}
Add(FileStream,13593382,504,203)
{
link(onLoad,4445344:doConvert,[])
}
Add(Hub,1904592,609,203)
{
OutCount=7
link(onEvent1,13593382:doClose,[(634,209)(634,195)(494,195)(494,216)])
link(onEvent2,2400353:doDelete,[(647,216)(647,195)])
link(onEvent3,11697065:doClear,[(887,223)(887,258)])
link(onEvent4,12827230:doClear,[(722,230)(722,195)])
link(onEvent5,4954946:doEvent1,[(641,237)(641,244)])
}
Add(StreamConvertor,4445344,560,203)
{
Mode=6
link(onResult,1904592:doEvent1,[])
}
Add(LineBreakEx,7935652,441,252)
{
Caption="fn"
Type=3
link(_Data,2039579:Value,[])
}
Add(Memory,2039579,441,203)
{
link(onData,13593382:doOpen,[])
}
Add(FileTools,2400353,672,175)
{
DelToRecycle=1
link(FileName,10872257:getVar,[])
}
Add(LineBreakEx,10872257,672,147)
{
Caption="fn"
Type=2
}
Add(StrList,11697065,931,245)
{
Point(doSave)
Point(EndIdx)
link(FileName,6243632:getVar,[])
}
Add(LineBreakEx,6243632,938,217)
{
Caption="fn"
Type=2
}
Add(Trim,1976889,833,245)
{
Char="\r\n"
Mode=5
link(onTrim,11697065:doAdd,[])
}
Add(StrList,12827230,735,182)
{
Point(doLoad)
}
Add(Hub,4954946,658,238)
{
OutCount=4
link(onEvent1,12827230:doAdd,[(710,244)(710,188)])
link(onEvent2,14885053:doExec,[])
link(onEvent3,11697065:doSave,[(802,258)(802,279)])
}
Add(RE_Search,14885053,735,245)
{
Expression=""http.*://.*(61.145.124.238|ad.api.kaffnet|ad.mail.ru|ad.myinstashot.com|adc3-launch|adbuddiz|adcolony|addapptr|adincube|adjust|adkmob|adknowledge|admarvel|admob|Admob|admost|adnw_logging|adsafeprotected|adsdk|adsert|adserver|adservice|advertising|adview|adz.wattpad|aerserv|airpush|altamob|alta.eqmob|amazon-adsystem|amazonaws|analytics|appAdForce|appboy|appbrain|appenda|appia|applifier.com|applovin|applvn|appnext|appnexus|appodeal|apprupt|apsalar|appsdt|appsflyer|audience_network|avocarrot|azure|boxdigital/sdk/ad|branch|ca-app-pub|certificate.mobile.yandex.net|chartboost|cloudfront|code.google.com/p/android/issues/detail|crashlytics|csi.gstatic.com|doubleclick.net|dsp.batmobil|duapps|firebaseapp|flurry|fyber|g.doubleclick|google/android/gms/internal|google.com/safebrowsing/clientreport|googleapis.com/auth/games|googleads|googlesyndication|graph.facebook|greystripe|heyzap|hockeyapp|hyprmx|InlineAd|inmobi|inneractive|instreamatic|integralads|ironsource|jirbo|jumptap|kochava|Leadbolt|localytics|loopme|madnet.ru|mdotm|measurement|mediabrix|metrica|millennialmedia|mngads|moat|mobclix|mobfox|mobvista|montexi|moolah|mopub|mp.mydas.mobi|my/target|NativeInterstitial|net.rayjump|network_ads_common|nexage|onelouder/adlib|openx|pagead/ads|plus1.wapstart.ru|pubmatic|pubnative|r.my.com/mobile|revmob|sb.scorecardresearch|smaato/SOMA|startapp|startup.mobile.yandex.net|supersonicads|tagmanager|tapas|tapjoy|udm.scorecardresearch|unity3d/ads|unityads|vdopia|vungle|www.dummy|wzrkt|xtify|yandexadexchange|zestadz).*""
ModifierG=1
ModifierM=0
link(onMatch,10086157:doReplace,[])
link(SourceStr,8001764:Var2,[])
}
Add(Replace,10086157,791,245)
{
DestStr="55555555555"
link(onReplace,1976889:doTrim,[])
link(Str,8001764:Var3,[(797,229)])
link(Sub_str,14885053:Match,[(804,233)(772,233)(772,289)(741,289)])
}
Add(GetDataEx,8001764,735,224)
{
link(Data,12827230:Text,[])
}
Add(Message,14888828,406,287)
{
}

Но ищет одно вхождение.Как сделать что бы искал до конца
карма: 0

0
Ответов: 793
Рейтинг: 168
#19: 2022-05-30 06:53:37 ЛС | профиль | цитата
Udokanec писал(а):
Как сделать что бы искал до конца

Использовать точку doExecNext компонента RE_Search.
карма: 16

0
Ответов: 287
Рейтинг: 5
#20: 2022-05-30 06:58:41 ЛС | профиль | цитата
Использовал так но не получается

Add(MainForm,11479196,273,70)
{
Width=440
Height=100
}
Add(Button,1032059,126,203)
{
Left=290
Top=5
Width=100
Caption="Папка"
link(onClick,1584642:doBrowse,[])
}
Add(Button,1454278,266,203)
{
Left=290
Top=30
Width=100
Enabled=1
Caption="Заменить"
Point(doEnabled)
link(onClick,10891095:doEvent1,[])
}
Add(Hub,10891095,343,203)
{
OutCount=3
link(onEvent1,9717498:doSearch,[])
}
Add(Label,15810939,210,98)
{
Left=5
Top=10
Width=49
Height=17
Caption="Каталог:"
}
Add(Edit,8494145,217,203)
{
Left=60
Top=10
Width=195
Text=""
link(onChange,1454278:doEnabled,[])
}
Add(Browse,1584642,175,203)
{
Title="Select Folder"
NewDirButton=1
link(onBrowse,8494145:doText,[])
}
Add(FileSearch,9717498,378,203)
{
Ext="*.smali"
TimeType=1
link(onSearch,2039579:doValue,[])
link(onEndSearch,14888828:doMessage,[(422,216)(422,254)(394,254)(394,293)])
link(Dir,8494145:Text,[(391,187)(335,187)(335,243)(223,243)])
}
Add(FileStream,13593382,504,203)
{
link(onLoad,4445344:doConvert,[])
}
Add(Hub,1904592,609,203)
{
OutCount=7
link(onEvent1,13593382:doClose,[(634,209)(634,195)(494,195)(494,216)])
link(onEvent2,2400353:doDelete,[(647,216)(647,195)])
link(onEvent3,11697065:doClear,[(887,223)(887,258)])
link(onEvent4,12827230:doClear,[(722,230)(722,195)])
link(onEvent5,4954946:doEvent1,[(641,237)(641,244)])
}
Add(StreamConvertor,4445344,560,203)
{
Mode=6
link(onResult,1904592:doEvent1,[])
}
Add(LineBreakEx,7935652,441,252)
{
Caption="fn"
Type=3
link(_Data,2039579:Value,[])
}
Add(Memory,2039579,441,203)
{
link(onData,13593382:doOpen,[])
}
Add(FileTools,2400353,672,175)
{
DelToRecycle=1
link(FileName,10872257:getVar,[])
}
Add(LineBreakEx,10872257,672,147)
{
Caption="fn"
Type=2
}
Add(StrList,11697065,931,245)
{
Point(doSave)
Point(EndIdx)
link(FileName,6243632:getVar,[])
}
Add(LineBreakEx,6243632,938,217)
{
Caption="fn"
Type=2
}
Add(Trim,1976889,833,245)
{
Char="\r\n"
Mode=5
link(onTrim,11697065:doAdd,[])
}
Add(StrList,12827230,735,182)
{
Point(doLoad)
}
Add(Hub,4954946,658,238)
{
OutCount=4
link(onEvent1,12827230:doAdd,[(710,244)(710,188)])
link(onEvent2,14885053:doExec,[])
link(onEvent3,9078604:doRepeat,[(682,258)(682,300)])
link(onEvent4,11697065:doSave,[(802,265)(802,279)])
}
Add(RE_Search,14885053,735,245)
{
Expression=""http.*://.*(61.145.124.238|ad.api.kaffnet|ad.mail.ru|ad.myinstashot.com|adc3-launch|adbuddiz|adcolony|addapptr|adincube|adjust|adkmob|adknowledge|admarvel|admob|Admob|admost|adnw_logging|adsafeprotected|adsdk|adsert|adserver|adservice|advertising|adview|adz.wattpad|aerserv|airpush|altamob|alta.eqmob|amazon-adsystem|amazonaws|analytics|appAdForce|appboy|appbrain|appenda|appia|applifier.com|applovin|applvn|appnext|appnexus|appodeal|apprupt|apsalar|appsdt|appsflyer|audience_network|avocarrot|azure|boxdigital/sdk/ad|branch|ca-app-pub|certificate.mobile.yandex.net|chartboost|cloudfront|code.google.com/p/android/issues/detail|crashlytics|csi.gstatic.com|doubleclick.net|dsp.batmobil|duapps|firebaseapp|flurry|fyber|g.doubleclick|google/android/gms/internal|google.com/safebrowsing/clientreport|googleapis.com/auth/games|googleads|googlesyndication|graph.facebook|greystripe|heyzap|hockeyapp|hyprmx|InlineAd|inmobi|inneractive|instreamatic|integralads|ironsource|jirbo|jumptap|kochava|Leadbolt|localytics|loopme|madnet.ru|mdotm|measurement|mediabrix|metrica|millennialmedia|mngads|moat|mobclix|mobfox|mobvista|montexi|moolah|mopub|mp.mydas.mobi|my/target|NativeInterstitial|net.rayjump|network_ads_common|nexage|onelouder/adlib|openx|pagead/ads|plus1.wapstart.ru|pubmatic|pubnative|r.my.com/mobile|revmob|sb.scorecardresearch|smaato/SOMA|startapp|startup.mobile.yandex.net|supersonicads|tagmanager|tapas|tapjoy|udm.scorecardresearch|unity3d/ads|unityads|vdopia|vungle|www.dummy|wzrkt|xtify|yandexadexchange|zestadz).*""
ModifierG=1
ModifierM=0
link(onMatch,10086157:doReplace,[])
link(onNotFound,9078604:doStop,[(777,258)(777,337)(681,337)(681,307)])
link(SourceStr,8001764:Var2,[])
}
Add(Replace,10086157,791,245)
{
DestStr="55555555555"
link(onReplace,1976889:doTrim,[])
link(Str,8001764:Var3,[(797,229)])
link(Sub_str,14885053:Match,[(804,233)(772,233)(772,296)(741,296)])
}
Add(GetDataEx,8001764,735,224)
{
link(Data,12827230:Text,[])
}
Add(Message,14888828,406,287)
{
}
Add(Repeat,9078604,693,294)
{
Op1=Integer(0)
Op2=Integer(0)
link(onRepeat,14885053:doExecNext,[(730,300)(730,258)])
}

карма: 0

0
Ответов: 793
Рейтинг: 168
#21: 2022-05-30 07:09:29 ЛС | профиль | цитата
Udokanec, проверь, так работает? (я проверить не могу, нет твоих файлов)

Add(MainForm,11479196,301,105)
{
Width=440
Height=100
}
Add(Button,1032059,154,238)
{
Left=290
Top=5
Width=100
Caption="Папка"
link(onClick,1584642:doBrowse,[])
}
Add(Button,1454278,294,238)
{
Left=290
Top=30
Width=100
Enabled=1
Caption="Заменить"
Point(doEnabled)
link(onClick,10891095:doEvent1,[])
}
Add(Hub,10891095,371,238)
{
OutCount=3
link(onEvent1,9717498:doSearch,[])
}
Add(Label,15810939,238,133)
{
Left=5
Top=10
Width=49
Height=17
Caption="Каталог:"
}
Add(Edit,8494145,245,238)
{
Left=60
Top=10
Width=195
Text=""
link(onChange,1454278:doEnabled,[])
}
Add(Browse,1584642,203,238)
{
Title="Select Folder"
NewDirButton=1
link(onBrowse,8494145:doText,[])
}
Add(FileSearch,9717498,406,238)
{
Ext="*.smali"
TimeType=1
link(onSearch,2039579:doValue,[])
link(onEndSearch,14888828:doMessage,[(450,251)(450,289)(422,289)(422,328)])
link(Dir,8494145:Text,[(419,222)(363,222)(363,278)(251,278)])
}
Add(FileStream,13593382,532,238)
{
link(onLoad,4445344:doConvert,[])
}
Add(Hub,1904592,637,238)
{
OutCount=7
link(onEvent1,13593382:doClose,[(662,244)(662,230)(522,230)(522,251)])
link(onEvent2,2400353:doDelete,[(675,251)(675,230)])
link(onEvent3,11697065:doClear,[(915,258)(915,293)])
link(onEvent4,12827230:doClear,[(750,265)(750,230)])
link(onEvent5,4954946:doEvent1,[(669,272)(669,279)])
}
Add(StreamConvertor,4445344,588,238)
{
Mode=6
link(onResult,1904592:doEvent1,[])
}
Add(LineBreakEx,7935652,469,287)
{
Caption="fn"
Type=3
link(_Data,2039579:Value,[])
}
Add(Memory,2039579,469,238)
{
link(onData,13593382:doOpen,[])
}
Add(FileTools,2400353,700,210)
{
DelToRecycle=1
link(FileName,10872257:getVar,[])
}
Add(LineBreakEx,10872257,700,182)
{
Caption="fn"
Type=2
}
Add(StrList,11697065,1008,280)
{
Point(doSave)
Point(EndIdx)
link(FileName,6243632:getVar,[])
}
Add(LineBreakEx,6243632,1015,252)
{
Caption="fn"
Type=2
}
Add(Trim,1976889,910,280)
{
Char="\r\n"
Mode=5
link(onTrim,11697065:doAdd,[])
}
Add(StrList,12827230,763,217)
{
Point(doLoad)
}
Add(Hub,4954946,686,273)
{
OutCount=4
link(onEvent1,12827230:doAdd,[(738,279)(738,223)])
link(onEvent2,14885053:doExec,[])
link(onEvent4,11697065:doSave,[(720,300)(720,373)(947,373)(947,314)])
}
Add(RE_Search,14885053,763,280)
{
Expression=""http.*://.*(61.145.124.238|ad.api.kaffnet|ad.mail.ru|ad.myinstashot.com|adc3-launch|adbuddiz|adcolony|addapptr|adincube|adjust|adkmob|adknowledge|admarvel|admob|Admob|admost|adnw_logging|adsafeprotected|adsdk|adsert|adserver|adservice|advertising|adview|adz.wattpad|aerserv|airpush|altamob|alta.eqmob|amazon-adsystem|amazonaws|analytics|appAdForce|appboy|appbrain|appenda|appia|applifier.com|applovin|applvn|appnext|appnexus|appodeal|apprupt|apsalar|appsdt|appsflyer|audience_network|avocarrot|azure|boxdigital/sdk/ad|branch|ca-app-pub|certificate.mobile.yandex.net|chartboost|cloudfront|code.google.com/p/android/issues/detail|crashlytics|csi.gstatic.com|doubleclick.net|dsp.batmobil|duapps|firebaseapp|flurry|fyber|g.doubleclick|google/android/gms/internal|google.com/safebrowsing/clientreport|googleapis.com/auth/games|googleads|googlesyndication|graph.facebook|greystripe|heyzap|hockeyapp|hyprmx|InlineAd|inmobi|inneractive|instreamatic|integralads|ironsource|jirbo|jumptap|kochava|Leadbolt|localytics|loopme|madnet.ru|mdotm|measurement|mediabrix|metrica|millennialmedia|mngads|moat|mobclix|mobfox|mobvista|montexi|moolah|mopub|mp.mydas.mobi|my/target|NativeInterstitial|net.rayjump|network_ads_common|nexage|onelouder/adlib|openx|pagead/ads|plus1.wapstart.ru|pubmatic|pubnative|r.my.com/mobile|revmob|sb.scorecardresearch|smaato/SOMA|startapp|startup.mobile.yandex.net|supersonicads|tagmanager|tapas|tapjoy|udm.scorecardresearch|unity3d/ads|unityads|vdopia|vungle|www.dummy|wzrkt|xtify|yandexadexchange|zestadz).*""
ModifierG=1
ModifierM=0
link(onMatch,12126940:doEvent1,[])
link(SourceStr,8001764:Var2,[])
}
Add(Replace,10086157,868,280)
{
DestStr="55555555555"
link(onReplace,1976889:doTrim,[])
link(Str,8001764:Var3,[(874,264)])
link(Sub_str,14885053:Match,[(881,271)(811,271)(811,320)(769,320)])
}
Add(GetDataEx,8001764,763,259)
{
link(Data,12827230:Text,[])
}
Add(Message,14888828,434,322)
{
}
Add(Hub,12126940,833,280)
{
link(onEvent1,10086157:doReplace,[])
link(onEvent2,14885053:doExecNext,[(858,293)(858,328)(753,328)(753,293)])
}

карма: 16

0
Ответов: 287
Рейтинг: 5
#22: 2022-05-30 07:22:19 ЛС | профиль | цитата
Нет не работает.Первое вхождение заменило остальные испортила
карма: 0

0
Ответов: 793
Рейтинг: 168
#23: 2022-05-30 08:17:39 ЛС | профиль | цитата
Udokanec писал(а):
Нет не работает


Add(MainForm,11479196,336,63)
{
Width=440
Height=100
}
Add(Button,1032059,210,196)
{
Left=290
Top=5
Width=100
Caption="Папка"
link(onClick,1584642:doBrowse,[])
}
Add(Button,1454278,350,196)
{
Left=290
Top=30
Width=100
Enabled=1
Caption="Заменить"
Point(doEnabled)
link(onClick,9717498:doSearch,[])
}
Add(Label,15810939,273,91)
{
Left=5
Top=10
Width=49
Height=17
Caption="Каталог:"
}
Add(Edit,8494145,301,196)
{
Left=60
Top=10
Width=195
Text=""
link(onChange,1454278:doEnabled,[])
}
Add(Browse,1584642,259,196)
{
Title="Select Folder"
NewDirButton=1
link(onBrowse,8494145:doText,[])
}
Add(FileSearch,9717498,406,196)
{
Ext="*.smali"
TimeType=1
link(onSearch,2039579:doValue,[])
link(onEndSearch,14888828:doMessage,[(445,209)(445,272)])
link(Dir,8494145:Text,[(419,187)(398,187)(398,236)(307,236)])
}
Add(Memory,2039579,462,196)
{
link(onData,10551125:doEvent1,[])
}
Add(Message,14888828,462,266)
{
}
Add(StrList,14923820,756,147)
{
Strings=#14:61.145.124.238|14:ad.api.kaffnet|10:ad.mail.ru|18:ad.myinstashot.com|11:adc3-launch|8:adbuddiz|8:adcolony|8:addapptr|8:adincube|6:adjust|6:adkmob|11:adknowledge|8:admarvel|5:admob|5:Admob|6:admost|12:adnw_logging|15:adsafeprotected|5:adsdk|6:adsert|8:adserver|9:adservice|11:advertising|6:adview|11:adz.wattpad|7:aerserv|7:airpush|7:altamob|10:alta.eqmob|15:amazon-adsystem|9:amazonaws|9:analytics|10:appAdForce|14:appboyappbrain|7:appenda|5:appia|13:applifier.com|8:applovin|6:applvn|7:appnext|8:appnexus|8:appodeal|7:apprupt|7:apsalar|6:appsdt|9:appsflyer|16:audience_network|9:avocarrot|5:azure|17:boxdigital/sdk/ad|6:branch|10:ca-app-pub|29:certificate.mobile.yandex.net|10:chartboost|10:cloudfront|39:code.google.com/p/android/issues/detail|11:crashlytics|15:csi.gstatic.com|12:dsp.batmobil|6:duapps|11:firebaseapp|6:flurry|5:fyber|27:google/android/gms/internal|36:google.com/safebrowsing/clientreport|25:googleapis.com/auth/games|27:googleads.g.doubleclick.net|17:googlesyndication|14:graph.facebook|10:greystripe|6:heyzap|9:hockeyapp|6:hyprmx|8:InlineAd|6:inmobi|11:inneractive|12:instreamatic|11:integralads|10:ironsource|5:jirbo|7:jumptap|7:kochava|8:Leadbolt|10:localytics|6:loopme|9:madnet.ru|5:mdotm|11:measurement|9:mediabrix|7:metrica|15:millennialmedia|6:mngads|4:moat|7:mobclix|6:mobfox|8:mobvista|7:montexi|6:moolah|5:mopub|13:mp.mydas.mobi|10: my/target|18:NativeInterstitial|11:net.rayjump|18:network_ads_common|6:nexage|15:onelouder/adlib|5:openx|10:pagead/ads|17:plus1.wapstart.ru|8:pubmatic|9:pubnative|15:r.my.com/mobile|6:revmob|20:sb.scorecardresearch|11:smaato/SOMA|8:startapp|25:startup.mobile.yandex.net|13:supersonicads|10:tagmanager|5:tapas|6:tapjoy|21:udm.scorecardresearch|11:unity3d/ads|8:unityads|6:vdopia|6:vungle|9:www.dummy|5:wzrkt|5:xtify|16:yandexadexchange|7:zestadz|0:|
}
Add(StrMask,43527,910,203)
{
Point(doMask)
link(onTrue,9026426:doSplit,[])
link(Str,7166975:Item,[(916,194)(961,194)(961,257)(650,257)])
}
Add(ArrayEnum,11747147,770,210)
{
link(onItem,2883028:doEvent1,[])
link(Array,14923820:Array,[])
}
Add(Hub,2883028,819,210)
{
link(onEvent1,15360191:doString,[])
link(onEvent2,43527:doCompare,[(844,223)(844,209)])
}
Add(FormatStr,15360191,854,210)
{
Mask="*%1*"
link(onFString,43527:doMask,[])
}
Add(StrList,6355775,630,119)
{
Point(doGetString)
Point(onGetString)
Point(doReplace)
Point(doLoad)
Point(doSave)
link(Str,7532469:Result,[(636,110)(972,110)(972,257)(1035,257)])
link(FileName,2039579:Value,[(643,103)(538,103)(538,236)(468,236)])
}
Add(ArrayEnum,7166975,644,203)
{
link(onItem,9709378:doCompare,[])
link(onEndEnum,6355775:doSave,[(683,216)(683,188)(620,188)(620,174)])
link(Array,6355775:Array,[])
}
Add(StrMask,9709378,700,203)
{
Mask=" const-string*"
link(onTrue,11747147:doEnum,[])
}
Add(StrPart,9026426,980,210)
{
Char=", "
Point(Left)
link(onPart,7532469:doStrCatDlm,[])
}
Add(StrCatDelim,7532469,1029,217)
{
Delimiter=", "
Str2=""http://""
link(onStrCatDlm,2122395:doData,[(1095,223)(1095,94)(543,94)(543,160)])
}
Add(DoData,2122395,553,154)
{
link(onEventData,6355775:doReplace,[])
link(Data,7166975:Index,[(559,145)(594,145)(594,243)(657,243)])
}
Add(Hub,10551125,553,196)
{
link(onEvent1,6355775:doLoad,[(599,202)(599,167)])
link(onEvent2,7166975:doEnum,[])
}

карма: 16

0
Ответов: 287
Рейтинг: 5
#24: 2022-05-30 09:48:01 ЛС | профиль | цитата
Уважаемый Gunta const-string* из strMask изначально не известен.
карма: 0

0
Ответов: 793
Рейтинг: 168
#25: 2022-05-30 09:59:26 ЛС | профиль | цитата
Udokanec писал(а):
const-string* из strMask изначально не известен.

Я то этого не знаю. Просто удали strMask. Но работать будет дольше.

Add(MainForm,11479196,238,63)
{
Width=440
Height=100
}
Add(Button,1032059,112,196)
{
Left=290
Top=5
Width=100
Caption="Папка"
link(onClick,1584642:doBrowse,[])
}
Add(Button,1454278,252,196)
{
Left=290
Top=30
Width=100
Enabled=1
Caption="Заменить"
Point(doEnabled)
link(onClick,9717498:doSearch,[])
}
Add(Label,15810939,175,91)
{
Left=5
Top=10
Width=49
Height=17
Caption="Каталог:"
}
Add(Edit,8494145,203,196)
{
Left=60
Top=10
Width=195
Text=""
link(onChange,1454278:doEnabled,[])
}
Add(Browse,1584642,161,196)
{
Title="Select Folder"
NewDirButton=1
link(onBrowse,8494145:doText,[])
}
Add(FileSearch,9717498,308,196)
{
Ext="*.smali"
TimeType=1
link(onSearch,2039579:doValue,[])
link(onEndSearch,14888828:doMessage,[(347,209)(347,272)])
link(Dir,8494145:Text,[(321,187)(300,187)(300,236)(209,236)])
}
Add(Memory,2039579,364,196)
{
link(onData,10551125:doEvent1,[])
}
Add(Message,14888828,364,266)
{
}
Add(StrList,14923820,623,140)
{
Strings=#14:61.145.124.238|14:ad.api.kaffnet|10:ad.mail.ru|18:ad.myinstashot.com|11:adc3-launch|8:adbuddiz|8:adcolony|8:addapptr|8:adincube|6:adjust|6:adkmob|11:adknowledge|8:admarvel|5:admob|5:Admob|6:admost|12:adnw_logging|15:adsafeprotected|5:adsdk|6:adsert|8:adserver|9:adservice|11:advertising|6:adview|11:adz.wattpad|7:aerserv|7:airpush|7:altamob|10:alta.eqmob|15:amazon-adsystem|9:amazonaws|9:analytics|10:appAdForce|14:appboyappbrain|7:appenda|5:appia|13:applifier.com|8:applovin|6:applvn|7:appnext|8:appnexus|8:appodeal|7:apprupt|7:apsalar|6:appsdt|9:appsflyer|16:audience_network|9:avocarrot|5:azure|17:boxdigital/sdk/ad|6:branch|10:ca-app-pub|29:certificate.mobile.yandex.net|10:chartboost|10:cloudfront|39:code.google.com/p/android/issues/detail|11:crashlytics|15:csi.gstatic.com|12:dsp.batmobil|6:duapps|11:firebaseapp|6:flurry|5:fyber|27:google/android/gms/internal|36:google.com/safebrowsing/clientreport|25:googleapis.com/auth/games|27:googleads.g.doubleclick.net|17:googlesyndication|14:graph.facebook|10:greystripe|6:heyzap|9:hockeyapp|6:hyprmx|8:InlineAd|6:inmobi|11:inneractive|12:instreamatic|11:integralads|10:ironsource|5:jirbo|7:jumptap|7:kochava|8:Leadbolt|10:localytics|6:loopme|9:madnet.ru|5:mdotm|11:measurement|9:mediabrix|7:metrica|15:millennialmedia|6:mngads|4:moat|7:mobclix|6:mobfox|8:mobvista|7:montexi|6:moolah|5:mopub|13:mp.mydas.mobi|10: my/target|18:NativeInterstitial|11:net.rayjump|18:network_ads_common|6:nexage|15:onelouder/adlib|5:openx|10:pagead/ads|17:plus1.wapstart.ru|8:pubmatic|9:pubnative|15:r.my.com/mobile|6:revmob|20:sb.scorecardresearch|11:smaato/SOMA|8:startapp|25:startup.mobile.yandex.net|13:supersonicads|10:tagmanager|5:tapas|6:tapjoy|21:udm.scorecardresearch|11:unity3d/ads|8:unityads|6:vdopia|6:vungle|9:www.dummy|5:wzrkt|5:xtify|16:yandexadexchange|7:zestadz|0:|
}
Add(StrMask,43527,777,196)
{
Point(doMask)
link(onTrue,9026426:doSplit,[])
link(Str,7166975:Item,[(783,187)(678,187)(678,250)(552,250)])
}
Add(ArrayEnum,11747147,637,203)
{
link(onItem,2883028:doEvent1,[])
link(Array,14923820:Array,[])
}
Add(Hub,2883028,686,203)
{
link(onEvent1,15360191:doString,[])
link(onEvent2,43527:doCompare,[(711,216)(711,202)])
}
Add(FormatStr,15360191,721,203)
{
Mask="*%1*"
link(onFString,43527:doMask,[])
}
Add(StrList,6355775,532,119)
{
Point(doGetString)
Point(onGetString)
Point(doReplace)
Point(doLoad)
Point(doSave)
link(Str,7532469:Result,[(538,110)(888,110)(888,250)(902,250)])
link(FileName,2039579:Value,[(545,103)(409,103)(409,239)(370,239)])
}
Add(ArrayEnum,7166975,546,203)
{
link(onItem,11747147:doEnum,[])
link(onEndEnum,6355775:doSave,[(585,216)(585,188)(522,188)(522,174)])
link(Array,6355775:Array,[])
}
Add(StrPart,9026426,847,203)
{
Char=", "
Point(Left)
link(onPart,7532469:doStrCatDlm,[])
}
Add(StrCatDelim,7532469,896,210)
{
Delimiter=", "
Str2=""http://""
link(onStrCatDlm,2122395:doData,[(939,216)(939,272)(445,272)(445,160)])
}
Add(DoData,2122395,455,154)
{
link(onEventData,6355775:doReplace,[])
link(Data,7166975:Index,[(461,145)(496,145)(496,243)(559,243)])
}
Add(Hub,10551125,455,196)
{
link(onEvent1,6355775:doLoad,[(501,202)(501,167)])
link(onEvent2,7166975:doEnum,[])
}

карма: 16

0
Ответов: 287
Рейтинг: 5
#26: 2022-05-30 10:43:38 ЛС | профиль | цитата
Gunta Не работает
карма: 0

0
Ответов: 793
Рейтинг: 168
#27: 2022-05-30 10:52:34 ЛС | профиль | цитата
Udokanec писал(а):
Gunta Не работает

Ещё раз. Так работает?
Add(MainForm,4243594,147,203)
{
}
Add(Hub,1904592,252,203)
{
OutCount=3
link(onEvent1,7166975:doEnum,[])
link(onEvent2,6355775:doSave,[(354,216)(354,181)])
}
Add(StrList,14923820,455,147)
{
Strings=#14:61.145.124.238|14:ad.api.kaffnet|10:ad.mail.ru|18:ad.myinstashot.com|11:adc3-launch|8:adbuddiz|8:adcolony|8:addapptr|8:adincube|6:adjust|6:adkmob|11:adknowledge|8:admarvel|5:admob|5:Admob|6:admost|12:adnw_logging|15:adsafeprotected|5:adsdk|6:adsert|8:adserver|9:adservice|11:advertising|6:adview|11:adz.wattpad|7:aerserv|7:airpush|7:altamob|10:alta.eqmob|15:amazon-adsystem|9:amazonaws|9:analytics|10:appAdForce|14:appboyappbrain|7:appenda|5:appia|13:applifier.com|8:applovin|6:applvn|7:appnext|8:appnexus|8:appodeal|7:apprupt|7:apsalar|6:appsdt|9:appsflyer|16:audience_network|9:avocarrot|5:azure|17:boxdigital/sdk/ad|6:branch|10:ca-app-pub|29:certificate.mobile.yandex.net|10:chartboost|10:cloudfront|39:code.google.com/p/android/issues/detail|11:crashlytics|15:csi.gstatic.com|12:dsp.batmobil|6:duapps|11:firebaseapp|6:flurry|5:fyber|27:google/android/gms/internal|36:google.com/safebrowsing/clientreport|25:googleapis.com/auth/games|27:googleads.g.doubleclick.net|17:googlesyndication|14:graph.facebook|10:greystripe|6:heyzap|9:hockeyapp|6:hyprmx|8:InlineAd|6:inmobi|11:inneractive|12:instreamatic|11:integralads|10:ironsource|5:jirbo|7:jumptap|7:kochava|8:Leadbolt|10:localytics|6:loopme|9:madnet.ru|5:mdotm|11:measurement|9:mediabrix|7:metrica|15:millennialmedia|6:mngads|4:moat|7:mobclix|6:mobfox|8:mobvista|7:montexi|6:moolah|5:mopub|13:mp.mydas.mobi|10: my/target|18:NativeInterstitial|11:net.rayjump|18:network_ads_common|6:nexage|15:onelouder/adlib|5:openx|10:pagead/ads|17:plus1.wapstart.ru|8:pubmatic|9:pubnative|15:r.my.com/mobile|6:revmob|20:sb.scorecardresearch|11:smaato/SOMA|8:startapp|25:startup.mobile.yandex.net|13:supersonicads|10:tagmanager|5:tapas|6:tapjoy|21:udm.scorecardresearch|11:unity3d/ads|8:unityads|6:vdopia|6:vungle|9:www.dummy|5:wzrkt|5:xtify|16:yandexadexchange|7:zestadz|0:|
}
Add(Memo,12718057,469,308)
{
Left=30
Top=100
Width=985
Height=465
Align=5
FileName="1.txt"
ScrollBars=3
Point(doSave)
}
Add(Button,15072250,203,203)
{
Left=25
Top=25
Align=2
link(onClick,1904592:doEvent1,[])
}
Add(StrMask,43527,609,196)
{
Point(doMask)
link(onTrue,9026426:doSplit,[])
link(Str,7166975:Item,[(615,187)(510,187)(510,250)(405,250)])
}
Add(ArrayEnum,11747147,469,203)
{
link(onItem,2883028:doEvent1,[])
link(Array,14923820:Array,[])
}
Add(Hub,2883028,518,203)
{
link(onEvent1,15360191:doString,[])
link(onEvent2,43527:doCompare,[(543,216)(543,202)])
}
Add(FormatStr,15360191,553,203)
{
Mask="*%1*"
link(onFString,43527:doMask,[])
}
Add(StrList,6355775,385,126)
{
FileName="1.txt"
Strings=#36:.class public final Lc/d/b/a/e/a/bt;|25:.super Ljava/lang/Object;|10:.source ""|0:|0:|15:# static fields|45:.field public static final a:Lc/d/b/a/e/a/js;|52: .annotation system Ldalvik/annotation/Signature;|17: value = {|31: "Lc/d/b/a/e/a/js‹",|33: "Ljava/lang/String;",|16: "›;"|9: }|19: .end annotation|10:.end field|0:|0:|16:# direct methods|45:.method public static constructor ‹clinit›()V|13: .locals 2|0:|62: const-string v0, "gads:native:engine_js_url_with_protocol"|0:|110: const-string v1, "https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/production/native_ads.js"|0:|101: invoke-static {v0, v1}, Lc/d/b/a/e/a/js;-›a(Ljava/lang/String;Ljava/lang/String;)Lc/d/b/a/e/a/js;|0:|45: const-string v0, "gads:sdk_core_location"|0:|110: const-string v1, "https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html"|0:|101: invoke-static {v0, v1}, Lc/d/b/a/e/a/js;-›a(Ljava/lang/String;Ljava/lang/String;)Lc/d/b/a/e/a/js;|0:|25: move-result-object v0|0:|56: sput-object v0, Lc/d/b/a/e/a/bt;-›a:Lc/d/b/a/e/a/js;|0:|48: const-string v0, "gads:sdk_core_js_location"|0:|117: const-string v1, "https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/production/sdk-core-v40-impl.js"|0:|101: invoke-static {v0, v1}, Lc/d/b/a/e/a/js;-›a(Ljava/lang/String;Ljava/lang/String;)Lc/d/b/a/e/a/js;|0:|15: return-void|11:.end method|
Point(doGetString)
Point(onGetString)
Point(doReplace)
Point(doLoad)
Point(doSave)
link(Str,7532469:Result,[(391,117)(650,117)(650,250)(734,250)])
}
Add(ArrayEnum,7166975,399,203)
{
link(onItem,11747147:doEnum,[])
link(onEndEnum,7251279:doData,[(438,216)(438,265)(375,265)(375,335)])
link(Array,6355775:Array,[])
}
Add(StrPart,9026426,679,203)
{
Char=", "
Point(Left)
link(onPart,7532469:doStrCatDlm,[])
}
Add(DoData,7251279,385,329)
{
link(onEventData,12718057:doText,[])
link(Data,6355775:Text,[])
}
Add(StrCatDelim,7532469,728,210)
{
Delimiter=", "
Str2=""http://""
link(onStrCatDlm,2122395:doData,[(767,216)(767,111)(298,111)(298,167)])
}
Add(DoData,2122395,308,161)
{
link(onEventData,6355775:doReplace,[])
link(Data,7166975:Index,[(314,152)(349,152)(349,243)(412,243)])
}


Выложи пару своих файлов где надо поменять строки.

Редактировалось 1 раз(а), последний 2022-05-30 10:54:21
карма: 16

0
Ответов: 287
Рейтинг: 5
#28: 2022-05-30 11:06:20 ЛС | профиль | цитата
Блин напомни как выкладывать файлы
Как заставить работать точку doExecNext компонента RE_Search
Add(Button,1032059,280,308)
{
Left=290
Top=5
Width=100
Caption="Папка"
link(onClick,1584642:doBrowse,[])
}
Add(Button,1454278,420,308)
{
Left=290
Top=30
Width=100
Enabled=1
Caption="Заменить"
Point(doEnabled)
link(onClick,10891095:doEvent1,[])
}
Add(Hub,10891095,497,308)
{
OutCount=3
link(onEvent1,9717498:doSearch,[])
}
Add(Label,15810939,364,203)
{
Left=5
Top=10
Width=49
Height=17
Caption="Каталог:"
}
Add(Edit,8494145,371,308)
{
Left=60
Top=10
Width=195
Text=""
link(onChange,1454278:doEnabled,[])
}
Add(Browse,1584642,329,308)
{
Title="Select Folder"
NewDirButton=1
link(onBrowse,8494145:doText,[])
}
Add(FileSearch,9717498,532,308)
{
Ext="*.smali"
TimeType=1
link(onSearch,2039579:doValue,[])
link(onEndSearch,14888828:doMessage,[(576,321)(576,359)(548,359)(548,398)])
link(Dir,8494145:Text,[(545,292)(489,292)(489,348)(377,348)])
}
Add(FileStream,13593382,658,308)
{
link(onLoad,4445344:doConvert,[])
}
Add(Hub,1904592,763,308)
{
OutCount=7
link(onEvent1,13593382:doClose,[(788,314)(788,300)(648,300)(648,321)])
link(onEvent2,2400353:doDelete,[(801,321)(801,300)])
link(onEvent3,11697065:doClear,[(1041,328)(1041,363)])
link(onEvent4,12827230:doClear,[(876,335)(876,300)])
link(onEvent5,4954946:doEvent1,[(795,342)(795,349)])
}
Add(StreamConvertor,4445344,714,308)
{
Mode=6
link(onResult,1904592:doEvent1,[])
}
Add(LineBreakEx,7935652,595,357)
{
Caption="fn"
Type=3
link(_Data,2039579:Value,[])
}
Add(Memory,2039579,595,308)
{
link(onData,13593382:doOpen,[])
}
Add(FileTools,2400353,826,280)
{
DelToRecycle=1
link(FileName,10872257:getVar,[])
}
Add(LineBreakEx,10872257,826,252)
{
Caption="fn"
Type=2
}
Add(StrList,11697065,1085,350)
{
Point(doSave)
Point(EndIdx)
link(FileName,6243632:getVar,[])
}
Add(LineBreakEx,6243632,1092,322)
{
Caption="fn"
Type=2
}
Add(Trim,1976889,1015,364)
{
Char="\r\n"
Mode=5
link(onTrim,11697065:doAdd,[(1052,370)(1052,356)])
}
Add(StrList,12827230,889,287)
{
Point(doLoad)
}
Add(Hub,4954946,812,343)
{
OutCount=5
link(onEvent1,12827230:doAdd,[(864,349)(864,293)])
link(onEvent2,14885053:doExec,[])
link(onEvent4,10086157:doReplace,[])
link(onEvent5,11697065:doSave,[(956,377)(956,384)])
}
Add(RE_Search,14885053,889,350)
{
Expression=""http.*://.*(61.145.124.238|ad.api.kaffnet|ad.mail.ru|ad.myinstashot.com|adc3-launch|adbuddiz|adcolony|addapptr|adincube|adjust|adkmob|adknowledge|admarvel|admob|Admob|admost|adnw_logging|adsafeprotected|adsdk|adsert|adserver|adservice|advertising|adview|adz.wattpad|aerserv|airpush|altamob|alta.eqmob|amazon-adsystem|amazonaws|analytics|appAdForce|appboy|appbrain|appenda|appia|applifier.com|applovin|applvn|appnext|appnexus|appodeal|apprupt|apsalar|appsdt|appsflyer|audience_network|avocarrot|azure|boxdigital/sdk/ad|branch|ca-app-pub|certificate.mobile.yandex.net|chartboost|cloudfront|code.google.com/p/android/issues/detail|crashlytics|csi.gstatic.com|doubleclick.net|dsp.batmobil|duapps|firebaseapp|flurry|fyber|g.doubleclick|google/android/gms/internal|google.com/safebrowsing/clientreport|googleapis.com/auth/games|googleads|googlesyndication|graph.facebook|greystripe|heyzap|hockeyapp|hyprmx|InlineAd|inmobi|inneractive|instreamatic|integralads|ironsource|jirbo|jumptap|kochava|Leadbolt|localytics|loopme|madnet.ru|mdotm|measurement|mediabrix|metrica|millennialmedia|mngads|moat|mobclix|mobfox|mobvista|montexi|moolah|mopub|mp.mydas.mobi|my/target|NativeInterstitial|net.rayjump|network_ads_common|nexage|onelouder/adlib|openx|pagead/ads|plus1.wapstart.ru|pubmatic|pubnative|r.my.com/mobile|revmob|sb.scorecardresearch|smaato/SOMA|startapp|startup.mobile.yandex.net|supersonicads|tagmanager|tapas|tapjoy|udm.scorecardresearch|unity3d/ads|unityads|vdopia|vungle|www.dummy|wzrkt|xtify|yandexadexchange|zestadz).*""
ModifierG=1
ModifierM=0
link(SourceStr,8001764:Var2,[])
}
Add(Replace,10086157,945,364)
{
DestStr="55555555555"
link(onReplace,8782185:doEvent1,[])
link(Str,8001764:Var3,[(951,334)])
link(Sub_str,14885053:Match,[(958,338)(926,338)(926,394)(895,394)])
}
Add(GetDataEx,8001764,889,329)
{
link(Data,12827230:Text,[])
}
Add(Message,14888828,560,392)
{
}
Add(Hub,8782185,987,364)
{
link(onEvent1,1976889:doTrim,[])
link(onEvent2,14885053:doExecNext,[(1010,377)(1010,412)(882,412)(882,363)])
}


Редактировалось 6 раз(а), последний 2022-05-30 11:45:12
карма: 0

0
Ответов: 793
Рейтинг: 168
#29: 2022-05-30 17:49:57 ЛС | профиль | цитата
Udokanec писал(а):
Блин напомни как выкладывать файлы

Выложи парочку файлов на яндекс диск и кинь ссылку.
карма: 16

0
Ответов: 287
Рейтинг: 5
#30: 2022-05-31 01:22:29 ЛС | профиль | цитата
https://disk.yandex.ru/d/CZbvx_sBVEj5ng

Редактировалось 1 раз(а), последний 2022-05-31 01:54:26
карма: 0

0
Сообщение
...
Прикрепленные файлы
(файлы не залиты)